reworked the introduction. Adjusted the structure of the thesis. Added miner notes for the next steps

This commit is contained in:
2026-06-22 16:42:48 +02:00
parent 45fc75d6a3
commit dbc1289b10
38 changed files with 18126 additions and 13403 deletions
+2
View File
@@ -81,3 +81,5 @@ temp/
!04_evaluation/
!05_discussion/
!06_acknowledgement/
.obsidian
+50 -100
View File
@@ -1,133 +1,76 @@
A data-driven, systematic approach to innovation scouting is needed to transform university technology transfer from reactive, fragmented practices into proactive, scalable, and equitable processes that surface innovators and opportunities early and consistently across complex academic organizations. This introduction motivates and formalizes the need for an INnovation Search Engine (INSE) to support innovation coaches with integrated, contextualized organizational intelligence, and sets objectives for building and evaluating such a system within real university ecosystems.
Universities are increasingly expected to do more than educate students and publish research. They are asked to turn research into products, companies, and partnerships that benefit the regions around them. Meeting that expectation rests on a deceptively simple ability: finding, early and reliably, the people and ideas inside the institution that are ready to move toward application. This thesis is about giving that ability a concrete form in software. It develops the \emph{Innovation Search Engine} (INSE), a system that collects and connects the scattered traces of academic work (people, organizational units, publications, patents, grants, and collaborations)so that the staff responsible for technology transfer can search for opportunities deliberately, rather than waiting for them to surface on their own.
The remainder of this chapter sets up that goal. It first explains why proactive innovation scouting has become important for universities and why it is difficult to do well in practice. It then states the specific problem the thesis addresses, the objectives that follow from it, and the contributions made along the way. The chapter closes with a guide to how the rest of the document is organized.
\section{Motivation}
%Universities have expanded their mission beyond education and research to include knowledge and technology transfer as a pillar of regional innovation ecosystems, entrepreneurship, and societal impact, making the capability to identify, nurture, and translate internal knowledge assets a strategic imperative. Technology transfer has traditionally been operationalized through licensing, joint ventures, and academic spin-offs, each offering distinct channels for impact and growth; however, the spin-off pathway is uniquely catalytic in job creation, fiscal returns, and founder role modeling, magnifying the value of systematic discovery of entrepreneurial potential within universities. As transfer organizations evolve from intermediaries to co-constructors embedded in research and regional partnerships, they require timely, holistic visibility into people, projects, outputs, and networks—visibility that cannot be achieved through ad hoc browsing or siloed directories alone.
%
%Innovation coaches have emerged to bridge research and market by offering consulting, training, funding mediation, and venture development support, yet these offerings are predominantly reactive and contingent on researchers self-selecting into programs, which systematically overlooks less visible innovators and emerging trends. Leading practice now emphasizes proactive scouting to surface early-stage opportunities by monitoring signals across newsfeeds, projects, grants, publications, and patents, complemented by expert insights; in practice, this is labor intensive and heterogeneous across units, leading to inconsistent coverage and missed opportunities. A unifying, data-driven platform that maps organizational structures, aggregates distributed content, and contextualizes academic contributions is therefore essential to enable proactive, inclusive, and efficient scouting at scale.
%
%A further motivation comes from the central role of collaboration and interdisciplinarity in producing high-impact science and innovation; diverse teams exhibit higher outputs and often higher impact, and are disproportionately represented among groups that create startups and translate research, which implies that scouting should detect cross-boundary expertise and team formation potential rather than only individual outputs. Bibliometric and network perspectives show increasing co-authorship, cross-institutional collaboration, and disciplinary integration, with measurable ties to quality and translational potential—yet the volume and dispersion of the literature make manual partner discovery and opportunity matching infeasible without algorithmic support. Integrating collaboration analytics into scouting promises to reveal latent innovation constellations across departments and institutes, aligning with funders’ emphasis on interdisciplinary, inter-institutional, and international projects as engines of knowledge transfer.
%
%The digital fabric of universities compounds these needs: organizational websites, faculty pages, institute subdomains, and content management systems vary widely in structure, language, and completeness, fragmenting critical data such as affiliations, projects, outputs, and contact points across inconsistent, multilingual interfaces. Even where Technology Transfer Offices (TTOs) are strong, their remit and data holdings typically center on IP workflows and case pipelines rather than comprehensive, continuously updated organizational knowledge graphs, leaving a gap that a dedicated innovation search layer can fill to inform earlier, broader, and fairer scouting. Collectively, these drivers motivate INSE: a platform to assemble distributed signals into an actionable, up-to-date view of people, topics, outputs, and relationships tailored to the workflows of innovation coaches.
\subsection{Universities and the Third Mission}
A proactive, data-driven capability for innovation scouting is now essential for universities seeking to translate research into societal and economic impact, because traditional, reactive transfer practices miss early, less visible opportunities and cannot consistently surface innovators across complex organizations. As academic technology transfer expands from licensing to venture creation and co-construction with partners, institutions require integrated visibility into people, projects, outputs, and networks, which manual browsing and siloed directories cannot deliver at scale or with equity \cite{noack2021transfer,reichert2019role,brantnell2022understanding}.
Beyond teaching and research, universities have taken on a third role: transferring knowledge into society and the economy. They sit at the centre of regional innovation systems, supplying the knowledge, talent, and partnerships from which new ventures and renewed industries grow. As a result, the ability to find and mobilize internal expertise has become part of what a university is expected to do well, not an optional extra \cite{benneworth2005university,debackere2005role,jones1998universities}.
\subsection{Universities as innovation engines}
This transfer happens through several channels. Licensing and joint ventures are well established, but the creation of spin-off companies stands out: spin-offs create firms, jobs, and tax revenue, and visible founders encourage others to follow. Whether they form at all depends on factors such as the maturity of the transfer office, equity and royalty policies, access to venture capital, and the commercial orientation of the underlying research \cite{carlesi2017academic,vcivzmar2022methodology}. Two consequences follow. First, the people and projects most worth supporting are not distributed evenly or obviously across an institution. Second, identifying them early enough to act is itself a capability the university must build \cite{noack2021transfer,reichert2019role,brantnell2022understanding}.
Universities are pivotal nodes in regional innovation ecosystems, providing knowledge, talent, and partnerships that catalyze entrepreneurship and industry renewal, so building systematic processes to identify and mobilize internal capabilities has become a strategic priority for institutional and regional competitiveness. Beyond providing education and research, universities increasingly assume a third mission of knowledge transfer, using mechanisms ranging from licensing to spin-off formation to deliver societal and economic value in tandem with public and private stakeholders. This expanded mission requires organizational intelligence that maps who does what, where, and with whom—capabilities that underpin timely engagement, partnership formation, and the translation of academic outputs into innovations with real-world effects \cite{benneworth2005university,debackere2005role,jones1998universities}.
\subsection{From Reactive Support to Proactive Scouting}
Spin-offs represent a particularly potent pathway within the transfer portfolio by creating new firms, jobs, and tax revenues, while reinforcing entrepreneurial culture through visible founder role models tied to institutional excellence and resources. Evidence links spin-off formation to factors such as TTO sophistication, equity policies, royalty sharing, venture capital availability, and the commercial orientation and eminence of research, illustrating how institutional design and ecosystem conditions shape entrepreneurial outcomes. In parallel, universities benefit from closer cooperation with industry via access to applied problems, translational funding, and opportunities to align research with market needs, increasing the salience of capabilities that detect and connect internal expertise with external demand \cite{carlesi2017academic,vcivzmar2022methodology}.
Innovation coaches are the staff who connect research to the market through consulting, training, funding advice, and venture support. They are essentially the people who exercise the mentiond practice day to day. Traditionally, their work has been reactive: they help the researchers who come to them. The drawback is structural. Researchers who are less visible, less well connected, or simply unaware that support exists never enter the pipeline, and promising work goes unnoticed.
\subsection{From reactive support to proactive scouting}
Leading practice has therefore shifted toward proactive scouting. Instead of waiting, coaches monitor signals like publications, patents, grants, projects, and news to spot trends, experts, and teams worth approaching before an opportunity matures or disappears. Studies of transfer scouts show that actively searching for and evaluating research results can speed up transfer cases, and that outcomes depend on how quickly and knowledgeably a scout responds and on the ability to assemble teams across disciplines \cite{schneiderrole}. Scouting done well thus needs breadth of coverage, speed, and the ability to match people to opportunities as well as qualities that are hard to sustain by hand.
Innovation coaches emerged to bridge research and market through consulting, training, funding mediation, and venture enablement, but these services often depend on researchers self-identifying and approaching support units, which systematically overlooks latent innovators and emergent topics outside existing networks. Leading practice has shifted toward proactive scouting in which coaches monitor signals from publications, patents, grants, projects, news, and expert insights to identify trends, experts, and teams for early engagement before opportunities mature or disperse. The transfer scout role is evolving from mere intermediation toward co-construction, collaborating with researchers and partners to shape opportunities, which raises the bar on information needs, timeliness, and the ability to articulate evidence-based rationales for outreach and prioritization.
\subsection{Why Scouting Is Hard}
Empirical work on transfer scouts shows that active search, documentation, and evaluation of research results for economic exploitation can accelerate cases, with outcomes sensitive to the scout’s professionalism, response speed, and capacity to convene interdisciplinary constellations—a pattern that implies tooling should enhance velocity, coverage, and cross-boundary matching. Moreover, knowledge transfer activities can be triggered by varied mechanisms such as internal transfer potential, company demand, project ideas, and events or matchmaking, suggesting that scouts need a unified view that integrates internal capabilities with external needs to route opportunities effectively across triggers \cite{schneiderrole}.
The obstacle is not a shortage of information but its fragmentation. A university's web presence is a patchwork: faculties, institutes, and chairs run separate sites on different content-management systems, under different subdomains, with inconsistent layouts and labels, often in more than one language. Staff directories vary by unit, and stable interfaces for retrieving data are rare. The signals a scout needs (affiliations, projects, publications, patents, and funding) are scattered across these sources, each with its own coverage, identifiers, and update cycle \cite{newman2024promoting,chou2024analyzing}.
\subsection{Data fragmentation and organizational complexity}
Despite strategic importance, institutional data landscapes are fragmented: staff directories vary by unit, APIs are uncommon, and institute and chair websites operate under heterogeneous content management systems, subdomains, and design conventions that limit discoverability and comparability. Multilingual content and inconsistent entity labels—chair, division, group, or discipline—complicate automated crawling and disambiguation, impeding the construction of a coherent organizational knowledge graph that scouts need to systematically explore capabilities and contacts. Even mature transfer offices are optimized for IP workflows and deal pipelines rather than upstream opportunity discovery across emerging topics, leaving a gap for platforms that assemble distributed signals into a living map of people, topics, outputs, and relationships.
Because the data are dispersed, coaches fall back on personal networks and manual browsing. The latter is slow, biased toward groups that are already well known, and difficult to reproduce: when staff change, the institutional memory leaves with them. Transfer offices, even mature ones, are organized around intellectual-property workflows and deal pipelines rather than around the upstream task of discovering opportunities in the first place. The result is a gap precisely where early detection would matter most.
This fragmentation has operational consequences: coaches rely on personal networks to identify enabling technologies and product gaps, but struggle to form a comprehensive, up-to-date view of internal expertise and its evolution, thereby limiting coverage and introducing bias toward well-known groups. Without standardized, scalable measures of innovation potential tied to observable activities—grants, publications, patents, projects, media—prioritization becomes subjective and non-reproducible across time and institutions, reducing institutional memory and continuity when staff change \cite{newman2024promoting,chou2024analyzing}.
\subsection{Collaboration as a Signal of Innovation}
\subsection{Collaboration, interdisciplinarity, and innovation potential}
A robust literature links collaboration diversity and interdisciplinarity to higher research impact and translational potential, indicating that scouting must look beyond individuals to detect teams and bridges across departments and institutions. Co-authorship and bibliometric analyses show rising collaboration intensity and cross-institutional ties, offering quantifiable signals for identifying promising clusters and latent connectors, yet the volume and dispersion of outputs make manual partner discovery and team assembly infeasible at scale. Recent bibliometric methods and visualization tools demonstrate how collaboration maps and indicators can profile researchers and constellations, underscoring the feasibility and value of embedding such analytics into scouting to surface high-potential, cross-disciplinary opportunities.
Scouting that looks only at individuals also misses much of what drives innovation. Diverse, interdisciplinary teams tend to produce higher-impact work and are more likely to translate research into application, and funders increasingly reward projects that cross disciplinary and institutional boundaries. Co-authorship and other collaboration patterns are measurable, which makes them usable as signals: they can point to promising clusters and to the people who connect otherwise separate groups. The volume and spread of these records, however, put manual analysis out of reach, so collaboration is exactly the kind of signal that benefits from automated support.
Funders increasingly condition success on interdisciplinary and inter-institutional projects, aligning resource allocation with collaboration breadth and integrative research, which raises the stakes for universities to detect and cultivate cross-boundary teams early. Integrating collaboration analytics with translational indicators—patent activity, industry grants, startup involvement, and media traction—can reveal readiness levels and pathways from research to application, improving the precision and fairness of prioritization.
\subsection{Toward an Innovation Search Engine}
\subsection{Toward an INnovation Search Engine (INSE)}
These observations point to a single conclusion. To scout proactively, a university needs a system that gathers heterogeneous internal and external data, links them into a coherent and continuously updated picture of who does what and with whom, and turns that picture into indicators a coach can act on. This is the role of the Innovation Search Engine. INSE is intended to complement, not replace, the transfer office: it addresses the upstream work of discovery and team formation, so that more research reaches licensing and venture pathways, and so that the support reaches a broader and fairer set of researchers \cite{arzani2023challenges,ullah2022analyzing}. Connecting internal expertise to external demand also lowers the cost of forming collaborations and makes underrepresented units more visible, reinforcing the university's role in its regional ecosystem \cite{martinez2023examining}.
Given these drivers, there is a clear motivation for a university-scale INnovation Search Engine (INSE) that ingests heterogeneous internal and external data to build a continuously updated organizational knowledge graph, enabling scouts to query and navigate people, topics, outputs, and relationships with contextualized evidence. By formalizing the stages of scouting—trend identification, expert finding, and prioritization—INSE can link external signals to internal capabilities, resolve entities across multilingual, multi-domain assets, and compute interpretable scores aligned with coach decision criteria and transfer office practices. Such a platform complements TTO operations by addressing upstream discovery and team formation, equipping institutions to convert more research into licensing and venture pathways through earlier, broader, and more equitable engagement.
\section{Problem Statement}
The anticipated benefits extend from operational efficiency to strategic impact: automation of data collection and normalization expands coverage and timeliness, while analytics reveal emergent talent and interdisciplinary bridges, counteracting biases inherent in manual, network-dependent scouting. Case-based evidence on transfer scouts indicates that professionalism, speed, and interdisciplinary matchmaking drive outcomes; embedding these capabilities into INSE’s workflows can systematize good practice and scale it across faculties and institutes. In sum, the path toward iconic entrepreneurial universities runs through proactive, data-driven scouting that makes invisible capabilities visible, accelerates matching between internal strengths and external needs, and institutionalizes learning about what drives successful translation in specific organizational and regional contexts \cite{arzani2023challenges,ullah2022analyzing}.
A university that wants to scout proactively faces a systems problem: the information needed for early, fair, and effective transfer is abundant but fragmented; useful signals exist but are not combined into anything a coach can read at a glance; and human expertise is essential but is consumed by manual, reactive work. Three gaps make this concrete.
\subsection{Strategic alignment and ecosystem value}
\subsection{Fragmented and Inconsistent Data}
Regional development literature emphasizes the multifaceted benefits universities bring to local economies—knowledge spillovers, human capital, and firm formation—implying that improved scouting can amplify spillovers by shortening the cycle from idea to partnership to commercialization. University–industry collaboration correlates with spin-off creation and resource flows, reinforcing a feedback loop in which better discovery of fit between internal expertise and external problems yields more projects, funding, and venture formation. A system like INSE, by making internal capabilities transparent and searchable, lowers transaction costs for collaboration, increases the visibility of underrepresented units, and strengthens the university’s role as a convening platform in the regional innovation system.
The data that describe an institution are scattered across public websites, institute pages, chair subdomains, and staff directories, built on different systems and labelled inconsistently. Without stable schemas and interfaces, it is hard to identify and connect the relevant entities (people, projects, publications, patents) and harder still to keep them current as affiliations and outputs change. Until these sources are unified into a single, maintained representation of the organization, scouting cannot keep a reliable, up-to-date view across faculties and units.
At the institutional governance level, aligning INSE with TTO policies—equity, royalty sharing, and IP strategy—supports coherent pathways from early detection to commercialization, while interoperability with bibliometric and patent databases ensures robust, comparable indicators across time and units. As universities face rising expectations to evidence impact, data-driven scouting also contributes to accountability by documenting rationales for outreach, tracking engagement cycles, and connecting scouting inputs to outcomes such as licenses, partnerships, and spin-offs \cite{martinez2023examining}.
\subsection{Missing Interpretable Indicators}
Universities generate many observable signals: publications, patents and disclosures, funded projects, industry collaborations, software, datasets, and media coverage. These are rarely combined into transparent indicators of innovation potential. In their absence, prioritization rests on tacit judgement and personal impressions, which are difficult to compare across units or over time and difficult to defend. What is needed is a layer that turns raw signals into interpretable measures aligned with how coaches actually decide the metrics of translational orientation, founding potential, collaboration capacity, and application maturity.
\subsection{Closing rationale}
\subsection{Manual and Reactive Workflows}
The motivation for INSE is to transform innovation scouting from craft to capability: replacing ad hoc, person-dependent practices with a scalable system that maps institutional knowledge, quantifies translational signals, and illuminates interdisciplinary opportunities in time for intervention. By harnessing collaboration analytics, transfer-scout workflows, and organizational knowledge graphs, universities can expand their entrepreneurial footprint, increase equity in access to support, and accelerate the conversion of research into societal value. This approach operationalizes the third mission with rigor and speed, positioning innovation coaches and transfer offices to co-construct innovations with researchers and partners rather than merely mediate them after the fact.
In practice, scouting remains largely manual: coaches watch scattered sources, copy information between tools, and wait for researchers to ask for help. This spends scarce expert time on low-value data collection and leaves less for mentoring, matchmaking, and venture support. At the scale of a modern university, small teams cannot keep comprehensive, timely coverage this way. For any system that addresses these gaps, accuracy and accountability are preconditions for adoption: profiles and rankings must be explainable and open to correction, and personal data must be handled within clear privacy and consent constraints, or researchers will not trust the results.
\section{Problem Statment}
% Additionally, the problem definition focuses on the relevant points of your investigation and problems that you want to solve, relating them with the first part.
%Current university innovation scouting is manual, reactive, and uneven, constrained by heterogeneous data sources, fragmented web presences, and reliance on individual coach experience and networks, resulting in incomplete coverage of innovators, delayed identification of opportunities, and low reproducibility of scouting outcomes. While coaches can identify enabling technologies and product gaps through informal networks, they lack a systematic, organization-wide method to discover and rank experts and teams by innovation potential, particularly across complex hierarchies and multilingual, inconsistently structured web assets. The absence of standardized, scalable measures of innovation potential tied to observable academic activities (projects, publications, patents, grants, media) forces subjective judgments that do not generalize across institutions or sustain continuity when personnel change.
%
%Data challenges are foundational: staff directories differ by unit, APIs are rare, web structures vary by CMS and subdomain, and content mixes languages and inconsistent terminology for entities such as chair, division, or group, impeding automated crawling, disambiguation, and mapping of organizational graphs. Beyond structural variability, essential signals for scouting are scattered—news pages, project portals, publication indexes, patent databases, and funding announcements—each with partial coverage, differing identifiers, and divergent update cycles, complicating entity resolution and temporal coherence necessary for trend detection. As a result, trend identification, expert finding, and prioritization—core stages of scouting—lack an integrated pipeline that links early external signals to internal capabilities and then to coach actions with transparent, reproducible rationale.
%
%Collaboration and interdisciplinarity intensify the gap: identifying promising cross-disciplinary teams requires detecting weak ties and bridging topics across departmental boundaries, which manual methods rarely capture at scale despite strong empirical links between team diversity and innovation outcomes. Bibliometric and co-authorship approaches offer structured measures, but their application to live institutional scouting is underdeveloped, and naive counts risk reinforcing incumbency rather than surfacing emergent talent and translational readiness. Without a data-driven, context-aware scoring and ranking framework—sensitive to maturity, novelty, team diversity, and translational indicators—prioritization remains ad hoc and potentially biased, undermining equitable access to support and the throughput of the innovation pipeline.
%
%Operationally, transfer offices and coaches face increasing demand for proactive engagement amid constrained staff capacity, making automation of data acquisition, integration, and analysis a necessity to sustain coverage and timeliness across large institutions. Even mature TTOs focus on IP management and downstream commercialization rather than upstream opportunity discovery, leaving an institutional capability gap precisely where early detection can shape trajectories toward licensing or spin-offs. Therefore, the core problem is to design and validate an integrated system—INSE—that ingests heterogeneous institutional and external data, builds a living organizational knowledge graph, computes interpretable scouting signals, and supports coach workflows for timely, equitable, and effective innovation discovery and engagement.
A comprehensive, scalable, and equitable system for identifying, evaluating, and prioritizing innovation potential within universities is currently missing, leaving innovation scouting fragmented, subjective, and dependent on personal networks and manual effort. This gap constrains knowledge transfer effectiveness, delays or prevents the discovery of high-potential innovators, and limits the capacity of institutions to act as entrepreneurial engines that convert research into societal and economic value.
\subsection{Data and infrastructure}
Universities contend with a patchwork of heterogeneous, multilingual, and inconsistently maintained information sources that collectively frustrate reliable discovery and integration. Public websites, institute pages, chair subdomains, and staff directories often employ different content management systems, divergent information architectures, and non-uniform labeling practices, which undermine automated crawling, parsing, and normalization. The absence of stable schemas and interfaces makes it difficult to resolve entities such as people, projects, publications, and patents, and to keep them current as affiliations and outputs evolve. Without a durable organizational knowledge graph that unifies these data, innovation scouting cannot maintain timely situational awareness across faculties and units, leading to blind spots, duplication of effort, and brittle processes that break whenever local sites or taxonomies change.
\subsection{Decision intelligence and metrics}
Although universities generate a wealth of observable signals—journal and conference publications, patents and disclosures, funded projects, industry collaborations, software repositories, datasets, media coverage—these signals are rarely fused into transparent, interpretable indicators that reflect innovation potential and entrepreneurial readiness. In the absence of such multi-signal, task-aligned metrics, prioritization decisions rely on tacit heuristics and personal impressions rather than reproducible evidence. This erodes fairness, comparability, and accountability across time and units, and hampers institutional learning about what truly predicts successful translation. A coherent layer of decision intelligence is therefore needed to transform raw signals into calibrated indicators that correspond to scouting criteria such as translational orientation, founding potential, collaboration capacity, and application maturity.
\subsection{Workflow and operations}
The operational reality of innovation scouting remains predominantly manual and reactive, with coaches monitoring scattered sources, copying information across silos, and waiting for researchers to self-identify and seek support. This mode of work consumes scarce expert time on low-value data collection and ad hoc triage, leaving less capacity for high-value activities like targeted mentoring, structured matchmaking, and proactive venture enablement. Given the scale and dynamism of modern universities, small innovation teams cannot feasibly maintain comprehensive coverage or timely follow-up through manual means alone. The resulting pipelines are slow, inconsistent, and vulnerable to staff turnover, which disrupts continuity and institutional memory and perpetuates uneven access to support.
\subsection{Discovery and mapping of opportunities}
Early opportunity discovery depends on sensing weak and noisy signals across publications, preprints, patents, grant calls, industrial roadmaps, and specialist news, then contextualizing these signals against internal strengths and strategic priorities. In practice, signals vary in lag times, accessibility, and disciplinary norms, and they remain disconnected from unified views of resident expertise. Without integrative mapping between external momentum and internal capabilities, institutions struggle to align research with market and societal demand, assemble timely consortia, or position competitively for translational funding. The consequence is a pattern of misalignment and missed windows in which promising topics are recognized only after the most advantageous intervention points have passed.
\subsection{Interdisciplinarity and collaboration analytics}
Transformative innovation frequently emerges at disciplinary interfaces, where diverse perspectives combine to address complex problems. Yet identifying latent connectors, bridging units, and complementary teams requires integrated collaboration data, consistent identifiers, and analytics that characterize relationships and roles across co-authorships, grants, and projects. Many transfer units lack the infrastructure to compute and visualize these patterns, making interdisciplinary potential difficult to perceive and operationalize. Without systematized team discovery and cross-unit matchmaking, universities underutilize internal complementarities and remain less prepared for calls that mandate interdisciplinarity, international partnerships, or industry participation.
\subsection{Governance and compliance}
For scouting to gain legitimacy with researchers and decision-makers, profiles and rankings must be accurate, explainable, and open to correction. This demands provenance tracking, versioning, and clear rationales for indicators and ordering, together with workflows that allow human oversight to amend errors and acknowledge context. Privacy and consent constraints, especially around personal data and sensitive outputs, require carefully designed access controls and ethical governance to maintain compliance and avoid chilling effects. Absent these safeguards, the perceived risks of aggregation and analysis can impede adoption, damaging trust precisely when broad participation is most needed.
\subsection{Comparability and ecosystem alignment}
Institutions increasingly aim to benchmark innovation performance within alliances and regional ecosystems, but divergent schemas, governance models, and data-sharing practices limit meaningful comparison. Without portable indicators and interoperable mappings, lessons from peer contexts do not transfer efficiently, and strategic decisions lack robust external reference points. Moreover, when internal capability maps are not connected to external demand signals—industry needs, societal challenges, policy priorities—universities risk investing in areas with limited translational leverage. Strengthening comparability and external alignment is therefore central to learning what works, coordinating investments, and maximizing the public value of research.
%Operational consequences
%Inequity in discovery and support: innovators embedded in well-known labs or with visible online presence receive attention, while others remain invisible despite strong potential.
%
%Missed timing: opportunities identified late reduce the probability of successful grants, partnerships, or spin-off formation.
%
%Inconsistent outcomes: subjective prioritization yields variability in selection and support, undermining institutional learning and accountability.
%
%Opportunity costs: coaches spend scarce time on low-value data collection tasks instead of high-value mentoring, brokering, and venture enablement.
\subsection{Problem restated}
Innovation scouting in universities faces a systems problem: information critical to early, equitable, and effective knowledge transfer is abundant but fragmented; relevant signals exist but are not integrated into interpretable decision support; and human expertise is necessary but currently overburdened by manual, reactive workflows. The absence of a unifying, data-driven capability renders the process subjective, slow, and biased, hampering the university’s ability to fulfill its entrepreneurial mission. Addressing this problem requires building an institutional layer that continuously maps people, topics, outputs, and relationships; operationalizes transparent indicators of innovation potential; and embeds analytics into coach workflows to enable proactive, fair, and timely engagement.
\medskip
\noindent
Taken together, these gaps define the problem this thesis addresses: how to build an institutional layer that continuously maps people, topics, outputs, and relationships; computes interpretable indicators of innovation potential; and supports the workflows of innovation coaches, so that scouting can be proactive, fair, and timely rather than ad hoc and person-dependent.
\section{Objectives}
Develop an end-to-end data pipeline for innovation scouting that crawls, extracts, and harmonizes heterogeneous university web content, staff directories, project databases, publication indexes, and patent sources into a unified, continuously updated organizational knowledge graph with multilingual and cross-domain normalization.
The thesis pursues the following objectives, each addressing part of the problem above and corresponding to a component of INSE developed in later chapters.
Formalize the scouting stages—trend identification, expert finding, and innovation potential assessment—into modular analytics that map external trend signals to internal capabilities, resolve entities, and compute interpretable, configurable scores aligned with coach decision criteria and transfer office practices.
\begin{enumerate}
\item \textbf{Recover the organization.} Mine the structure of a university includingfaculties, institutes, and chairs, directly from its heterogeneous, multilingual web presence, producing a coherent organizational map onto which other signals can be attached.
Design ranking and prioritization methods that combine bibliometric indicators, collaboration diversity measures, translational outputs, and temporal dynamics to surface promising researchers, teams, and groups, while mitigating bias and capturing emergent innovation trajectories rather than only cumulative advantage.
\item \textbf{Profile researchers and assess potential.} Combine bibliometric, patent, grant, and project signals into interpretable indicators that characterize researchers and identify entrepreneurial potential, while avoiding measures that merely reward existing prominence.
Integrate collaboration analytics to identify cross-disciplinary constellations and latent bridges across institutes and faculties, leveraging co-authorship networks and topical diversity to align with funder priorities and increase the likelihood of high-impact, translational projects.
\item \textbf{Surface collaborations.} Use co-authorship and topic models to reveal latent and cross-disciplinary collaboration opportunities across units, and recommend partners and teams.
Build practitioner-centered interfaces that provide innovation coaches with contextualized profiles, evidence trails, trend-to-expert mappings, and actionable cues (e.g., contact readiness, funding fit, partnership signals), supporting repeatable workflows and institutional memory independent of individual networks.
\item \textbf{Match knowledge to opportunities.} Connect institutional expertise to external opportunities such as funding calls, so that internal strengths can be aligned with outside demand.
Validate INSE through deployment with innovation coaches in live settings, measuring coverage, timeliness, precision of expert and opportunity recommendations, and downstream transfer outcomes, and iteratively refine models and data connectors across diverse organizational and web infrastructures.
\item \textbf{Anticipate trends.} Forecast technology lifecycles from patent data so that emerging and declining areas can be recognized early and without dependence on a single technological domain.
Establish governance, interoperability, and sustainability practices that align with TTO operations and regional ecosystem stakeholders, ensuring the system complements IP management and accelerates proactive discovery across licensing and venture pathways.
Collectively, these objectives operationalize a shift from reactive, person-dependent scouting to proactive, data-driven discovery, equipping coaches and transfer organizations to systematically find, prioritize, and support innovators in complex, dynamic university environments.
\item \textbf{Validate in practice.} Evaluate each component on real data and demonstrate the integrated system in a live university setting, refining the methods against the realities of institutional data.
\end{enumerate}
\section{Contributions}
The work presented in this thesis contributes to the field of data-driven innovation support and organizational analytics through a series of peer-reviewed conference papers and a journal article. The overarching goal of these studies is to bridge the gap between innovation management and computational intelligence by developing methods and systems that extract actionable insights from heterogeneous knowledge sources within academic institutions. The research collectively explores innovation scouting, organizational structure mining, founder prediction, and collaboration discovery.
The following publications constitute the main contributions of this thesis:
@@ -162,11 +105,18 @@ This study introduces TOMOSCO, which bridges innovation, skills, and collaborati
TOMOSCO is a Collaboration Recommendation System designed to uncover hidden collaboration potential within academia by applying transformer-based topic modeling to scientific publication corpora. The system leverages publication titles to infer academic expertise, overcoming the limitation of missing abstracts and demonstrating that concise textual data can effectively capture domain knowledge. By integrating semantic models such as BERTopic with probabilistic approaches like LDA, the framework maps expertise across organizational entities and generates collaboration network graphs that reveal latent scientific relationships. Evaluation results show that semantic modeling significantly outperforms probabilistic methods for short-text data, validating the value of contextual embeddings for knowledge extraction and collaboration discovery.
Collectively, these contributions advance the understanding and application of data-driven methods in innovation management. They span from structural understanding of universities and discovery of collaboration patterns to predictive modeling of entrepreneurial potential, laying a foundation for intelligent systems capable of supporting innovation discovery both within and beyond academic institutions. In this context since 5 years, we built and successfully tested INSE as a standalone prototype within the university Duisburg-Essen, funded through the GuideEuregio program. The individual contributions described above form the integral components of this system, each supporting and guiding innovation coaches and science support centers in identifying relevant researchers, understanding their collaborations, and tracking emerging research and innovation trends.
\section{Thesis Structure}
The thesis is structured as follows:
The thesis is organized into six parts that follow the argument from motivation to working system.
\textbf{Part~I (Overview and Motivation)} is this introduction: it motivates proactive innovation scouting, states the problem, and sets the objectives and contributions.
\textbf{Part~II (Analysis and System Design)} analyses the information needs and challenges of innovation scouting and derives the architecture of INSE and its components, providing the frame for the chapters that follow.
\textbf{Part~III (Foundations)} reviews the background and related work on the components analyzed in the previous part (organization mining, researcher profiling, collaboration analytics, founder identification, and technology forecasting) and positions the thesis relative to it.
\textbf{Part~IV (Methods and Contributions)} presents each component in turn: organization mining, researcher profiling, collaboration clusters and recommendations, knowledge clusters and expertise matching, founding-potential and innovation metrics, and technology lifecycle forecasting.
\textbf{Part~V (Evaluation)} evaluates these components one by one on real institutional and patent data, mirroring the structure of Part~IV.
\textbf{Part~VI (Case Study and Conclusion)} brings the components together in the deployment at the University of Duisburg-Essen, then summarizes what was achieved, discusses the limitations, and outlines directions for future work.
+6
View File
@@ -1,3 +1,6 @@
\chapter{Analysis}
\label{chapter:analysis}
% Kapitel: Architecture and challenges
% um das zu unterstüztzen hier ist INSE. erstmal die Architecture motivieren
% über challange
@@ -286,6 +289,9 @@ Universities increasingly encourage academic involvement in knowledge transfer t
While previous studies for innovation identification have primarily relied on surveys and empirical results from individual institutions, a significant gap exists in systematically considering academic activities for innovation scouting at universities. The challenge involves leveraging academic information about researchers to identify existing founding potential, requiring access to databases of previous founders, which in turn necessitates access to specialized startup data sources. Startup databases typically lack comprehensive academic information about founders, requiring linkage of founder profiles with academic data sources. By constructing datasets encompassing previous founders and their academic behaviors, founding potential of prospective founders can be measured and recommended to innovation coaches through predictive modeling approaches. However, existing data sources generally do not provide integrated linkages between founder information and academic backgrounds, necessitating development of custom integration pipelines.
\chapter{Innovation Search Engine and Components}
\label{chapter:inse_components}
\section{INSE Architecture}
To address the information needs and overcome the challenges identified in innovation scouting, we propose INSE (Innovation Search Engine), an integrated, application-specific search engine architecture designed to provide comprehensive support for all three stages of the innovation scouting process. INSE represents a paradigm shift from manual, experience-dependent scouting practices toward systematic, data-driven approaches that augment rather than replace the expertise and judgment of innovation coaches.
+30 -28
View File
@@ -1,7 +1,7 @@
% \section{Mining the Organizational Structure based on University Websites}
% \section{Organization Mining}
\section{define the possible approaches of mining the organizational structure}
\section{Approaches to Mining Organizational Structure}
%% bottom up
%% there is an unsupervised appraoch: using statistical methods, URL feature extraction or topic modelling to cluster and gather websites to gether, then checked where they are joined to find other unfound same level entities
%% This method did not work well, since it resulted in a lot of false positives, when its ran uncensored over hundreds of thousand pages. For example using ML to extract features and train a classifier to categorize faculty, institute/chairs page
@@ -135,6 +135,33 @@ The singular forms of the concepts are depicted in Figure \ref{fig:link-based-na
\end{figure}
\subsubsection*{Aggregators and Navigation Mechanisms}
\label{aggregators}
In order to identify aggregator pages, we perform word matching with the header content of a page. The header contents include HTML tags such as \textit{'title', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'th', 'strong'}.
An aggregator describes an overview page of similar entities for a concept that meets two criteria. First, the header content of the current visited page or the header content of the outgoing hyperlinks of the current page should contain the plural form of a defined concept (e.g., faculties, chairs, groups).
For example, the page contains the following,
% \footnotesize
\begingroup
\footnotesize
\begin{verbatim}
<a><h1>Fakultäten der Universität</h1></a>
\end{verbatim}
\endgroup
Where the h1 header tag includes the plural concept of faculty in German. After finding the plural concepts in the header content of the current page, the page's hyperlinks and their inner text are extracted and stored, and the page itself is chosen as an \textit{aggregator candidate}. For the second criterion, using the stored hyperlinks and hyperlink texts, the chosen candidate at least references one direct outgoing link that contains the singular form of the defined concept with their hyperlink text in their header content. If both criteria are met, the web page is registered as an aggregator page that most likely contains an overview of the similar concepts.
If the current content or content of the outgoing links of the current page includes a plural concept, the page is addressed as the \textbf{base aggregator}. This first case is true for universities that provide an overview of entities on their landing page; for example, an institute that lists the associated departments on the same page as the institute's start URL. The second case is more common, as most universities have the tendency to differentiate between the start URL and the overview of their underlying entities by providing a link to the aggregator in the navigation menu or in the content. The black circles with the revolving green squares, in Figure \ref{fig:link-based-navigation}, represent the aggregator pages. Examples of two cases of base aggregator pages are depicted in (1) and (3) and in Figure \ref{fig:link-based-navigation}.
Furthermore, a special case that we handle is where each of the links of the entities on an aggregator do not directly point to the concept's landing page. Some universities offer the main URL after the aggregator of their faculties. In this case, the homepage link delivers the actual concept page that was reviewed in the aggregator page. The latter is considered as the \textbf{indirect aggregator} and is depicted in case number (4) in Figure\ref{fig:link-based-navigation}. Another special case is \textbf{meta aggregators}, as aggregators that are reachable through other aggregators. This is depicted in case (2) as the orange-shaped diamond in Figure \ref{fig:link-based-navigation}. This is sometimes the case, as the targeted aggregators are accessible in the second level. In such instances, the plural concepts point to at least an outgoing page that includes another plural concept with their hyperlink text in their header content. An example of this is a page linking to research areas where each research area, in turn, links to a list of chairs.
\subsubsection*{Algorithm}
Based on the concepts and the entity navigation mechanisms, the simplified pseudocode of the algorithm is described in \ref{alg:mining_algorithm}. The algorithm starts by accepting the \textit{remaining\_pages}, which contain the starting URL (home URL of the target university) and a list of generic concepts for main-level entities (faculties, institutes, and chairs). In the next step, the algorithm extracts the aggregator candidates.
The algorithm first checks for base aggregators, then indirect aggregators, and finally, meta aggregators for every candidate.
\RestyleAlgo{ruled}
\SetKwComment{Comment}{/* }{ */}
\begin{algorithm*}
@@ -169,37 +196,12 @@ The singular forms of the concepts are depicted in Figure \ref{fig:link-based-na
}
\end{algorithm*}
\subsubsection*{Aggregators and Navigation Mechanisms}
\label{aggregators}
In order to identify aggregator pages, we perform word matching with the header content of a page. The header contents include HTML tags such as \textit{'title', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'th', 'strong'}.
An aggregator describes an overview page of similar entities for a concept that meets two criteria. First, the header content of the current visited page or the header content of the outgoing hyperlinks of the current page should contain the plural form of a defined concept (e.g., faculties, chairs, groups).
For example, the page contains the following,
% \footnotesize
\begingroup
\footnotesize
\begin{verbatim}
<a><h1>Fakultäten der Universität</h1></a>
\end{verbatim}
\endgroup
Where the h1 header tag includes the plural concept of faculty in German. After finding the plural concepts in the header content of the current page, the page's hyperlinks and their inner text are extracted and stored, and the page itself is chosen as an \textit{aggregator candidate}. For the second criterion, using the stored hyperlinks and hyperlink texts, the chosen candidate at least references one direct outgoing link that contains the singular form of the defined concept with their hyperlink text in their header content. If both criteria are met, the web page is registered as an aggregator page that most likely contains an overview of the similar concepts.
If the current content or content of the outgoing links of the current page includes a plural concept, the page is addressed as the \textbf{base aggregator}. This first case is true for universities that provide an overview of entities on their landing page; for example, an institute that lists the associated departments on the same page as the institute's start URL. The second case is more common, as most universities have the tendency to differentiate between the start URL and the overview of their underlying entities by providing a link to the aggregator in the navigation menu or in the content. The black circles with the revolving green squares, in Figure \ref{fig:link-based-navigation}, represent the aggregator pages. Examples of two cases of base aggregator pages are depicted in (1) and (3) and in Figure \ref{fig:link-based-navigation}.
Furthermore, a special case that we handle is where each of the links of the entities on an aggregator do not directly point to the concept's landing page. Some universities offer the main URL after the aggregator of their faculties. In this case, the homepage link delivers the actual concept page that was reviewed in the aggregator page. The latter is considered as the \textbf{indirect aggregator} and is depicted in case number (4) in Figure\ref{fig:link-based-navigation}. Another special case is \textbf{meta aggregators}, as aggregators that are reachable through other aggregators. This is depicted in case (2) as the orange-shaped diamond in Figure \ref{fig:link-based-navigation}. This is sometimes the case, as the targeted aggregators are accessible in the second level. In such instances, the plural concepts point to at least an outgoing page that includes another plural concept with their hyperlink text in their header content. An example of this is a page linking to research areas where each research area, in turn, links to a list of chairs.
\subsubsection*{Algorithm}
Based on the concepts and the entity navigation mechanisms, the simplified pseudocode of the algorithm is described in \ref{alg:mining_algorithm}. The algorithm starts by accepting the \textit{remaining\_pages}, which contain the starting URL (home URL of the target university) and a list of generic concepts for main-level entities (faculties, institutes, and chairs). In the next step, the algorithm extracts the aggregator candidates.
The algorithm first checks for base aggregators, then indirect aggregators, and finally, meta aggregators for every candidate.
The algorithm performs a depth-first search by finding aggregator pages for higher-level concepts (faculties) before diving into the underlying concept levels (institutes and then chairs). Effectively, this builds the organigram, or the structure of the organization; therefore, in each level, the remaining concepts, as well as the URLs, should be noted in the \textit{remaining\_pages}. The algorithm stops as soon as all the potential child concepts of each aggregator are visited. In the final step, the algorithm returns the organizational structure in the output list, which entails the labeled aggregator pages of the university.
As a result, each identified aggregator is marked with a label: \textit{faculty, institute, or chair}, and is stored with their corresponding outgoing pages that point to potential landing pages as well as other, unrelated pages.
\subsubsection{Landing Page Identification}
After identifying aggregators using the algorithm, in this subsection, we describe the LLM approach for the identification of entity landing pages based on their text content. Typically, faculty landing pages are easier to identify on university websites because they are higher-level administrative entities with distinct, well-structured web presences, often featuring standardized naming conventions. As discussed in the overview, this is not the case for the institutes or chairs, as they tend to have more varied and less formalized web structures. Hence, in the following, we differentiate between high-level entities (faculties) and low-level entities (institutes and chairs).
@@ -0,0 +1,10 @@
% ------------------------------------------------------------
% Methods: Researcher Profiling
% ------------------------------------------------------------
% TODO: This chapter is still to be written. It will describe how
% individual researchers are profiled from the organizational graph
% and the harvested signals (publications, patents, grants, projects),
% and how these profiles feed the prioritization used by innovation
% coaches.
\noindent\textit{This chapter is in preparation and will be completed in a later revision.}
+10 -9
View File
@@ -83,9 +83,9 @@ The mathematical aspect of this algorithm is shown in the following equation:
%Equation \ref{lda_math}
\begin{equation}
\footnotesize
\begin{aligned}
& P(\boldsymbol{W}, \boldsymbol{Z}, \boldsymbol{\theta}, \boldsymbol{\phi}; \alpha, \beta) = \\
& \prod_{i= 1}^{M}P(\theta_{j}; \alpha)\prod_{i = 1}^{K}P(\phi; \beta)\prod_{t = 1}^{N}P(Z_{j, t} | \theta_{j})P(W_{j, t} | \phi z_{j, t})
& P(\boldsymbol{W}, \boldsymbol{Z}, \boldsymbol{\theta}, \boldsymbol{\phi}; \alpha, \beta) = & \prod_{i= 1}^{M}P(\theta_{j}; \alpha)\prod_{i = 1}^{K}P(\phi; \beta)\prod_{t = 1}^{N}P(Z_{j, t} | \theta_{j})P(W_{j, t} | \phi z_{j, t})
\label{lda_math}
\end{aligned}
\end{equation}
@@ -152,9 +152,10 @@ The goal of this step is to build a topic-institute matrix. Each document holds
% By building a topic contribution profile for every institute, we can demonstrate how similar topics can infer collaboration potential, since the underlying assumption is that each institute works on multiple topics.
% We should also take note that the topic contribution for LDA and Bertopic have different forms. Whereas LDA works with statistical distributions and co-occurrence of topics in a document, Bertopic uses the embedded similarity.
\begin{table*}[htb]
% \centering
\begin{tabular}{ | l | l |}
\begin{table}[!ht]
\footnotesize
\centering
\begin{tabular}{ll}
\hline
EN & DE \\
\hline
@@ -167,14 +168,14 @@ The goal of this step is to build a topic-institute matrix. Each document holds
fire, microwave, millimeter\_wave, generation & buchbesprechung, hrsg, berlin, verlag \\
screening, hearing, cost\_effectiveness, patient & gesetzlich, zukunft, kriterium, kopfpramien \\
oriented\_software, graph, software\_engineering,... & strommarkt, elektrisch, energiebedarf, energie \\
ofdm, fiber, radio, coherent\_radio & psychologie, psychologisch, kinder\_jugendlich, ... \\
ofdm, fiber, radio, coherent\_radio & psychologie, psychologisch, kinder\_jugendlich \\
\hline
\end{tabular}
\caption{10 sample topics generated through Bertopic for English and German papers.}
\label{tab:bert_topics}
\end{table*}
\end{table}
\begin{figure*}[!htp]
\begin{figure}[!htp]
\centering
\begin{subfigure}[b]{0.32\textwidth}
\includegraphics[width=\textwidth]{figures/tomosco/LDA_cm_en_test.png}
@@ -191,7 +192,7 @@ The goal of this step is to build a topic-institute matrix. Each document holds
\vspace{-4mm}
\caption{Institutional similarity matrices for all the English publications.}
\label{fig:cm_predicted}
\end{figure*}
\end{figure}
\section{Collaboration Recommendation}
After model generation and establishing the relationship between topics and institutes (through the topic-institutes matrix), the user can use any project call, project description or reference scientific publication to identify potential collaborators. To achieve this goal, TOMOSCO passes the input content to the previously defined NLP pipeline and then uses the generated models along with the preprocessed content to infer the topic distribution of the given document in the form of a vector. In the next step, TOMOSCO maps the content to the best matching institutes with the help of a \textit{Ranking Algorithm}. For each model, this algorithm calculates a matrix-vector product of the inferred document-topic vector \textbf{$\gamma_{1\times M}$} with the corresponding topic-institute matrix \textbf{$S_{M\times N}$}, where \textbf{M} denotes the number of topics and \textbf{N} the number of unique institutes. The multiplication leads to boosting up the contribution values, resulting in a document-institute vector. At this stage, TOMOSCO sorts the vector values in descending order and chooses the top \textbf{n} contextually similar institutes.
+4 -4
View File
@@ -28,7 +28,7 @@ Our analysis focuses exclusively on patent count time series from the European P
% \item We introduce an oracle decomposition that isolates forecast-induced classification error, showing that classifier noise-robustness---not standalone accuracy---is the dominant factor governing combined pipeline performance.
\end{itemize}
\subsection{Patent System}
\section{Patent System}
% Patents play an important role in fostering innovation by granting the inventors exclusive rights to their innovation for a period of time, typically 20 years.
In this work, our goal is to enable patent-phase classification and forecasting of technology lifecycle phases in support of innovation scouting. As input, we focus on the patent data from the European Patent Office (EPO)~\cite{harhoff2009duration}. The EPO is a major patent authority that reviews and grants patents, enabling inventors to secure innovation across different markets.
@@ -42,7 +42,7 @@ For example, in the field of medical technology, \textit{Section A} covers Human
EPO data inherently include time-series information, where the number of patent filings is recorded over time for specific technologies, allowing analysts to track innovation activity and its intensity over the years. The EPO publishes two main types of patent documents: \textit{EP-A} documents, which are published patent applications (not necessarily granted), and \textit{EP-B} documents, which are granted patents. Both of these types are included in our analysis. From a technical standpoint, these data reflect a univariate time series, where each data point corresponds to the total count of published EP-A and EP-B documents in a particular year for a particular IPC code. In this work, we concentrate on the \textit{subgroup} level of the IPC hierarchy, as it represents the most granular classification unit and avoids aggregation bias that may arise at higher levels.
\subsection{Data Generation and Modeling}
\section{Data Generation and Modeling}
Using the time-series data from the EPO, we propose a data-driven method for capturing technology lifecycles. Our approach begins by extracting the \textit{stabilized time series} trends of patent filings within IPC classes to construct a \textit{universal trend} that captures the typical evolution pattern of technologies. Then, the universal trend is segmented into \textit{distinct phases of the lifecycle}, based on the structural characteristics of the trend curve.
%Finally, the labeled phases serve as the baseline for \textit{modeling} using multiple models, which are then used to classify current technological stages and forecast future lifecycle trajectories.
@@ -169,7 +169,7 @@ Finally, the IPC enters a (6) plateau phase, a stable level of activity, often n
% These definitions remain valid when monthly trends are used instead of yearly ones.
% \subsection{Modelling}
% \section{Modelling}
\subsubsection{Prediction of Patent Trends}
\label{modeling}
Using the annotated stabilized IPC trends, we model three tasks: patent activity forecasting, phase classification, and a combined pipeline that chains the two to predict when future lifecycle transitions will occur. We explain each of these tasks in more detail below.
@@ -214,7 +214,7 @@ We also consider two baselines: \emph{LSTM-Segment} a segment-level classificati
%, and additionally run each classifier in \textit{oracle mode} on ground-truth series.
\subsection{Conclusion}
\section{Conclusion}
Identifying emerging technologies is essential for effective innovation scouting, allowing stakeholders to anticipate and adapt to new developments. In this work, we presented an approach to technology forecasting using LSTM-based time series models trained on patent trends from the European Patent Office. By identifying stabilized trends, we defined a universal technology lifecycle, which we used to annotate our extracted IPC trends. Next, we generated a universal LSTM sequence-to-sequence classifier capable of predicting original trend labels with an accuracy of 88\%, as well as a forecasting LSTM model achieving an average temporal offset of only 1.27 years in the validation set.
+7 -1
View File
@@ -32,4 +32,10 @@
% \subsection{tools and hardware, frameworks}
\section{Use case: University of Duisburg-Essen}
% TODO: System-level case study. Describe the standalone INSE prototype
% deployed at the University of Duisburg-Essen under the GuideEuregio
% programme: connectors implemented, scheduling (Apache Airflow),
% maintenance effort, and how the components in Parts IV-V come together
% in day-to-day use by innovation coaches.
\noindent\textit{This chapter is in preparation and will be completed in a later revision.}
+2 -3
View File
@@ -1,4 +1,3 @@
\section{Organization Mining}
Given the implementation described above, we evaluate our approach in this section. In the following, we first discuss data collection. Next, we present the evaluation results of the algorithm. Finally, we discuss the results of the LLM approach.
@@ -35,7 +34,7 @@ Given the implementation described above, we evaluate our approach in this secti
\label{tab:ground_truth}
\end{table}
\subsection{Data Collection}
\section{Data Collection}
To evaluate our approach and assess its generalizability, we select four different universities for testing. \textit{Duisburg-Essen}, \textit{Münster}, \textit{Technical University Dortmund,} and \textit{Wuppertal}. For each, we conduct a structured manual review of their official websites to identify and extract organizational entities. This process involved systematically navigating through each university’s publicly available web pages and start by visiting any given aggregator page, selecting a faculty, and finding its underlying institutes and chairs.
\begin{table}[!ht]
@@ -83,7 +82,7 @@ Following up from the overview page, we visit each entity’s website and extrac
Table \ref{tab:ground_truth} shows the numbers of each type of entity in each university. The abbreviations of each university are shown in parentheses. All universities have several faculties in common, such as Medicine, Physics, Chemistry, Biology, and Economics. However, they differ in certain areas: for example, Münster has dedicated faculties for Geosciences and Catholic or Evangelical Studies, whereas these fields are categorized as institutes within the Human Sciences faculty at Duisburg-Essen.
\subsection{Results}
\section{Results}
So far we have shown the implementation of our approach, as well as the gathered ground truth of the four universities. Here, we initially examine the algorithm's capability in identifying aggregators of the organizational entities in the four introduced universities. Then, we evaluate the results of the LLM in detecting landing pages of entities.
\subsubsection*{Aggregator Identification}
@@ -0,0 +1,8 @@
% ------------------------------------------------------------
% Evaluation: Researcher Profiling
% ------------------------------------------------------------
% TODO: This chapter is still to be written. It will report the
% evaluation of the researcher-profiling method introduced in
% Chapter~\ref{chapter:profiling_researchers}.
\noindent\textit{This chapter is in preparation and will be completed in a later revision.}
+3 -4
View File
@@ -1,9 +1,8 @@
% \section{Mining the Organizational Structure based on University Websites}
\section{Collaboration Clusters and Recommendations}
To evaluate TOMOSCO, we employ the framework to analyze the data of a real organization and identify its potential collaborations.
%apply the data of a real organization to the framework.
\subsection{Dataset and Experimental Settings}
\section{Dataset and Experimental Settings}
The goal of the experiments is to investigate how concise publication titles perform on topic generation for collaboration identification. For this reason, we use the scientific publications of a large organization containing 36 institutes within a university, with the institutional spectrum that spans from Natural Sciences such as Engineering and Physics to Human Sciences, like Linguistics and Theology. This provides us with a rich, real-world environment with potentially highly interdisciplinary teams to validate our results systematically.
% “Center of Logistics and Transportation” (ZLV) containing 36 institutes at the University of Duisburg-Essen.
@@ -96,7 +95,7 @@ Subsequently, by finding the best coherence score for LDA and Bertopic, we gener
%Institutional Similarity and Collaboration Recommendation
\subsection{Qualitative Results}
\section{Qualitative Results}
We discussed how we can use a project description or publication title to depict the similarity of each institute to the given document and demonstrate potential institutional collaboration, since contextually similar institutes tend to collaborate together more often.
In this part of the experiment we aim to evaluate TOMOSCO qualitatively and generate a similarity matrix for all institutes based on all the English publications of the dataset. To achieve this goal, we perform inference for the publications using the generated topic models, apply the given topic-institute matrix for each topic of the given document and aggregate on the topics for each institute (36 institutes).
% with regard to the other 35.
@@ -284,7 +283,7 @@ The potential collaborators based on Bertopic are Environmental Microbiology (3)
\vspace{-4mm}
\end{table*}
\subsection{Quantitative Results}
\section{Quantitative Results}
To further harden the anecdotal evidence and investigate if the generated topic models make sense, we evaluate the performance of the system for publications as well as projects.
\subsubsection*{Publication Validation}
+10 -11
View File
@@ -1,13 +1,12 @@
\section{Knowledge Clusters and Expertise Matching}
This chapter provides a comprehensive evaluation of the proposed clustering and classification models based on the implemented pipeline (Figure~\ref{fig:pipeline_implementation}, Section \textbf{\textit{III}}), which maps publications and funding calls to relevant academic departments.
Three different experiments were conducted: \textbf{Publication Validation}, \textbf{Manual Validation of Historical Calls} and \textbf{Future Call Validation by Domain Experts}. The first, publication validation (\ref{subsec:cross_validation}), is divided into two parts: the first part (\ref{subsec:input_sensitivity}) examines the performance of different input representations, analyzing how each influences model accuracy and ranking quality; the second part (\ref{subsec:model_comparison}) compares the models' effectiveness across department categories using their best-performing inputs. This two-part approach ensures a thorough understanding of both input sensitivity and overall model performance on unseen publications data.
Additionally, our manual validation (\ref{subsec:manual_validation}) of historical funding calls tests the models' ability to generalize to real-world scenarios with distinct textual characteristics. Future Call Validation by Domain Experts (\ref{sec:expert_validation}) further enriches the analysis by incorporating domain expertise to assess the practical relevance and plausibility of predictions from an institutional perspective. Using ranking-oriented metrics tailored to the multi-label nature of the task, this chapter delivers a robust assessment of the models' strengths, limitations, and suitability for real-world deployment.
\subsection{Experimental Setup}
\section{Experimental Setup}
\label{sec:experiment_setups}
\subsubsection{Training Data: Publication Dataset}
\subsection{Training Data: Publication Dataset}
The dataset comprises a total of $99{,}514$ publications.
A summary of the dataset with respect to available departmental information is presented below:
@@ -26,7 +25,7 @@ A summary of the dataset with respect to available departmental information is p
These statistics highlight both the coverage of organizational metadata in the dataset and potential sparsity issues that may influence evaluation and ranking performance.
\subsubsection{Input Variants (Publication Representations)}
\subsection{Input Variants (Publication Representations)}
\label{subsec:input_variants}
To study robustness with respect to textual representation, three input variants were built and modelled in parallel:
@@ -39,7 +38,7 @@ To study robustness with respect to textual representation, three input variants
Using both an LLM (Llama~3) and an unsupervised statistical extractor (YAKE) provides complementary perspectives: the LLM can supply abstractive or paraphrased keyphrases, while YAKE selects salient terms based on local text statistics without requiring training data. Using multiple input variants allows us to evaluate the robustness of the models and their ability to capture semantic meaning in different forms of textual representation.
\subsection{Hyperparameter Tuning}
\section{Hyperparameter Tuning}
\label{subsec:parameters}
For HDBSCAN, the clustering was configured with a minimum cluster size of \textbf{10}, meaning that any group of fewer than ten publications was considered noise or outliers. The parameter \textit{min\_samples} was set to \textbf{5}, which controls the sensitivity of the algorithm to local density differences. Since this approach can leave a substantial fraction of the data unclustered, an embedding-based outlier reduction method was applied to reassign borderline cases. Furthermore, a topic reduction step merged smaller, semantically related topics into larger ones, resulting in approximately \textbf{2,500} clusters. This number was chosen to match the scale of clusters generated by K-Means, ensuring comparability between methods.
@@ -47,7 +46,7 @@ In the case of K-Means, the number of clusters was explicitly set to \textbf{2,5
Finally, for the Random Forest classifier, several parameter choices were made to balance predictive power and computational feasibility. A total of \textbf{100} decision trees \textit{(n\_estimators)} were used, which provides robust averaging of predictions without excessive training time. The maximum depth of trees was limited to \textbf{50}, a safeguard against overfitting and memory overuse given the high-dimensional input. To address the substantial class imbalance in the dataset, class weights were adjusted inversely to class frequencies, ensuring that underrepresented departments received fairer treatment in the predictions. The number of features considered at each split was set to the square root of the total feature count, a common choice that improves generalization while keeping trees diverse.
\subsection{Evaluation Metrics}\label{sec:eval_metrics}
\section{Evaluation Metrics}\label{sec:eval_metrics}
The performance of the proposed pipelines is assessed using \textbf{ranking-oriented evaluation metrics}, which are more suitable than classical classification metrics for this task. Since each funding call or publication can correspond to multiple departments, and the practical goal is to determine whether the relevant departments appear among the \textit{top predictions}, we adopt metrics that explicitly account for ranking quality rather than single-label correctness. In particular, we focus on \textbf{Hit Rate} and \textbf{Mean Rank (MR)} at different cutoffs, both of which are commonly used in information retrieval and recommender systems \cite{li2020sampling,bordes2013translating}.
@@ -88,7 +87,7 @@ For these reasons, \textbf{Hit Rate@k} and \textbf{Mean Rank (MR)} are more fait
\textbf{Smaller $k$ values} (e.g., Hit Rate@5) measure how well the system prioritizes the most relevant departments.
\textbf{Larger $k$ values} (e.g., Hit Rate@15) indicate the broader coverage of relevant departments if users are willing to examine longer lists.
\subsection{Publication Validation}
\section{Publication Validation}
\label{subsec:cross_validation}
To evaluate the generalization performance of the proposed clustering and classification pipelines, a \textbf{90/10 train-test split} was employed. This approach ensures that each model is trained on \textbf{90\% of the publications} and tested on the remaining \textbf{10\% of the publications with known department labels}, providing a fair assessment of how well each model can predict unseen data.
@@ -101,7 +100,7 @@ The \textbf{objective} of the Model Comparison stage is to determine \textit{whi
\subsection{Input Sensitivity Analysis}
\section{Input Sensitivity Analysis}
\label{subsec:input_sensitivity}
In this stage, we examine the impact of different input representations on the model performance. The \textbf{input data} consists of three distinct representations: \textbf{RAW titles}, \textbf{YAKE keywords}, and \textbf{LLM-generated keywords}. We analyze the effect of these inputs on the ranking performance for each model across all department categories. This allows us to identify\textit{ how input preprocessing influences the accuracy of the rankings and model predictions}.
@@ -219,7 +218,7 @@ For the \textbf{supervised} Random Forest model, the opposite holds: \textbf{LLM
\end{figure}
\subsection{Model Comparison}
\section{Model Comparison}
\label{subsec:model_comparison}
Once the \textbf{best-performing input representation} for publication validation, as identified in the input sensitivity analysis (\textbf{RAW titles} for HDBSCAN and K-MEANS, \textbf{LLM-keywords} for Random Forest) for each model have been identified in the previous stage, we proceed to compare the models directly for each department category. This comparison is conducted for faculties, institutes, chairs, and individual researchers. The goal is to determine \textit{which model}-HDBSCAN, K-Means, or Random Forest-\textit{is most effective at mapping publications to relevant departments}, taking into account the specific characteristics of each category.
@@ -281,7 +280,7 @@ Figure~\ref{fig:cross_validation_top15} illustrates the overall results of the m
\subsection{Manual Validation of Historical Calls}
\section{Manual Validation of Historical Calls}
\label{subsec:manual_validation}
To complement the publication validation experiments on historical publication data, an additional \textbf{manual validation of historical calls} was performed on a real-world test case.
@@ -353,7 +352,7 @@ At the researcher level, performance declines substantially for all models due t
Overall, from our perspective, it can be observed that clustering-based models, and particularly K-Means, are\textit{ more robust and adaptable} to heterogeneous real-world funding call data than supervised approach. K-Means demonstrates scalability across faculties, chairs, and institutes, while HDBSCAN retains niche advantages in fine-grained researcher-level predictions. This reinforces the conclusion that unsupervised clustering methods are better suited for practical funding-call alignment tasks, especially when dealing with unseen or structurally diverse inputs.
\subsection{Future Call Validation by Domain Experts}
\section{Future Call Validation by Domain Experts}
\label{sec:expert_validation}
As a final validation step, the proposed approach was evaluated with the involvement of \textbf{domain experts}.
+12 -13
View File
@@ -1,5 +1,4 @@
% \vspace{-5mm}
\section{Founding Potential and Innovation Metrics}
% Given the generated data set described in the previous section, we utilize data analysis to answer the two questions:
% First, is it possible to accurately classify founders and non-founders using features derived from their academic activities? Second, are there significant differences between the founders at different universities?
% To this end, we address this question using machine learning methods which can recognize patterns based on the input data.
@@ -8,7 +7,7 @@ Given the data set described in the previous section, the goal of our data analy
Second, what are the main features that signify founders. Third, is it possible to predict the future founding probability of university members to objectify the scouting process. Four, do the disciplines of a founder's academic activities determine or match the core expertise of the founder's company. In the following, we address each of the questions in this order. To do this, we apply machine learning methods. To implement the analysis, we rely on Python and use the Pandas \cite{pandas} and Scikit-learn \cite{scikit-learn} libraries.
\subsection{Classification}\label{sec:classification}
\section{Classification}\label{sec:classification}
With classification, we first determine whether it is possible to accurately classify founders and non-founders using features derived from their academic activities. To do this, we use the numerical features contained in our data set (c.f. Table \ref{tab:stats}) as an input to generate classifiers using a machine learning algorithm.
@@ -145,7 +144,7 @@ For instance, when training a classifier with Stanford, the prediction quality r
This means that despite the comparatively large number of founders and non-founders in our data set, due to the limited number of universities, we think that further research is needed to harden or falsify this observation.
\subsection{Profiling}
\section{Profiling}
After establishing that the features indeed allow the classification of founders and non-founders, we take a closer look at the features. The goal thereby is to determine the main features that signify founders. Since the previous section already showed that there is little difference between the universities in our data set, we refrain from analyzing the universities individually. Instead, we combine all the universities into a single dataset.
@@ -264,9 +263,9 @@ Interestingly, the research innovation impact scores as the 5th most important f
%As discussed in the previous section, these features are
%While the classifier combines the importance of these features to make predictions, the results of the approach show great promise to narrow down the important features that characterizes a founder. By systematic analysis and evaluation, we argued that the profile of the founders remain general independent of their institution and their field of research. Additionally, the innovation scouts are able to tap into the mentioned entrepreneurial characteristics to identify potential founders.
% \subsection{Domain contributions}
% \section{Domain contributions}
\subsection{Prediction}
\section{Prediction}
So far, the results of our analysis have shown that it is possible to classify founders and non-founders using machine learning on the basis of their academic activities. By analyzing the classifiers we have identified a number of features that capture relevant differences among a significant number of them. For our motivating use case of supporting the scouting process of innovation coaches, however, we would like to be able to identify the potential founders before they actually start running their companies.
@@ -341,7 +340,7 @@ The x-axis represents the average predicted probability in each bin. The y-axis
In summary, we conclude that the RF classifier is capable of predicting a potential founder even 1 to 3 years in advance. The resulting accuracy is comparable to the classification discussed in Section \ref{sec:classification}. In addition, using the RF classifier, it is possible to generate a continuous probability output that is likely to be well calibrated to the underlying data. This is not only useful for our motivating use case, but it also hardens the evidence in the model's confidence.
\subsection{Categorization}
\section{Categorization}
So far, we have built classifiers for the identification of the founders and shown the significant founding characteristics that can be used for innovation scouting by the coaches at the university.
Indeed, having an academic background in a certain field with corresponding publications and patents can provide valuable knowledge and skills for a founder of a company in that field. Since, the founders originate from various areas of research and disciplines, an interesting analysis for the innovation coaches is to check whether a founder's original academic discipline correlate with the area of founded company. The goal of categorization is to answer two questions. First, what are the main areas of academic background of the founders based on their publications and patents? Second, is the main academic discipline of a founder based on their field of patented/published documents, directly associated with the expertise of their founded company?
@@ -436,7 +435,7 @@ As indicated by the figure, considering the values for the top 3 rankings, the s
% \end{figure*}
\subsection{Conclusions}
\section{Conclusions}
Academic science has become increasingly entrepreneurial, and many universities have started support programs to foster technology transfer. An important goal of such programs is to find staff members and students that exhibit the knowledge and potential to transform their results into a product base. However, without a systematic approach to the discovery of potential founders, the scouting process can be challenging, and its success depends on the experience of the persons that execute it.
In this paper, we studied the discovery of potential founders using a data-driven approach. To do this, we created a novel data set that combines founder information with the corresponding academic activities, and we applied machine learning methods to systematically study the data. Our analysis suggested that it is possible to differentiate founders and non-founders with an average accuracy of 79\%. This accuracy remains mostly stable when applying classifiers trained on one university to another, suggesting the existence of a generic founder profile. The detailed analysis of the classifier indicates a high significance of the career path as well as patent- and grant-related features. We showed that it is possible to exploit the same features to predict the future founding probability up to 3 years in advance, with an accuracy of 80\%. Furthermore, we used the company keywords as well as the FoR categories of publications and patents to investigate the influence of academic background in the founder's company area. The findings revealed that a founder's patents in comparison to publications have a stronger influence on the company's main competencies, and the skill set of a founder's company could be determined by the primary field of their patent(s).
@@ -464,10 +463,10 @@ As part of the GUIDE REGIO project, we have built a graphical user interface aro
% \item Analysis of the academic disciplines of the founders depict that patent documents pose a higher influence on the startup's core competencies than the publications
% \end{itemize}
% \subsection{Dataset}\label{sec3}
% \section{Dataset}\label{sec3}
% We created and introduced the dataset in our previous publication \cite{kmis23}. However, to make this paper self-contained and provide an overview of features used in the next section, we describe the process here in detail. To study the discovery of potential founders in universities based on their academic activities, we use Crunchbase \cite{crunchbase} and Dimensions \cite{dimensions} as our data sources. In the following, we first provide details on both data sources. We then explain, how we integrate their data into a single data set consisting of founders and non-founders. Thereafter, we introduce a set of features, which we extract for further analysis and outline the reasoning for choosing them. Finally, we describe the concrete details of the data generation process resulting in the data that is used for further analysis.
% \subsubsection{Dataset}\label{subsec31}
% \subsection{Dataset}\label{subsec31}
% In the following, we provide an overview of the data structures from Crunchbase and Dimensions data sources. Then, we discuss the integration process of the two sources, to generate datasets of founders and non-founders. The considered data from these two sources lie between the early 1960s and the beginning of 2023.
% \begin{figure*}[htbp]
@@ -510,7 +509,7 @@ As part of the GUIDE REGIO project, we have built a graphical user interface aro
% Using the full text API of Dimensions, specific sections of a document, such as abstract, full text, authors can be targeted and due to the links between different data types, it is possible to create complex filters.
% \subsubsection{Data integration}
% \subsection{Data integration}
% With data integration we pursue two goals: First, we need to connect the data on founders available in Crunchbase with the academic activities of each individual founder in Dimensions. Second, since we want to apply machine learning for founder discovery, we also require corresponding non-founders data in a similar quantity as the founder data.
@@ -528,7 +527,7 @@ As part of the GUIDE REGIO project, we have built a graphical user interface aro
% To address our second goal of generating a set of non-founders for each organization, we can build upon the mapping of Crunchbase organizations and GRID IDs. As a first step, we use the GRID ID of a university to generate a list of researchers belonging to the organization in Dimensions. Thereafter, we randomly pick researchers that are not contained in the Crunchbase database for the organization, and we start issuing the same queries against the Dimensions API as for the founders. The resulting datasets include university-specific founders and non-founders records along with their publications, patents, as well as grants information and their linked metadata.
% \subsection{Feature extraction}
% \section{Feature extraction}
% % \begin{sidewaystable}
% % \begin{table*}[!htbp]
@@ -798,7 +797,7 @@ As part of the GUIDE REGIO project, we have built a graphical user interface aro
% \end{figure*}
% \subsubsection{Data generation}
% \subsection{Data generation}
% To generate the data set, we implement the data integration and feature extraction logic described previously as a processing pipeline using Python. The general flow through the pipeline is depicted in Figure \ref{fig:data_generation}. When started, the pipeline first downloads a snapshot of Crunchbase in CSV format and generate an SQLite database. Thereafter, it extracts the sets of founders for a set of target organizations and then it generates a set of non-founders using Dimensions. Using the resulting list of persons, the pipeline issues queries against the Dimensions API to retrieve the data required to compute the features. Due to the high number of queries, we locally store their results so that re-executing the pipeline will not cause duplicate API calls. Once the data is available, the pipeline computes the features for each person and performs the outlier detection and removal described previously. The result are two datasets for each organization that contains the features for founders and non-founders.
@@ -829,7 +828,7 @@ As part of the GUIDE REGIO project, we have built a graphical user interface aro
% % Nevertheless we use SMOTE technique is a great tool to be used in imbalanced datasets which is in our case with the same number of records for each class is irrelevant. Nevertheless we performed the SMOTE test using all the data available at our disposal for robustness. We had extracted about 10000 non-founders, almost the 40\% more than the number of founders. SMOTE test was proven to have the same performance as the spitted 50\%. Since our main goal is to build a classifier for founder identification and predication we decided to use the balanced founders/non-founders datasets. }
% \subsection{Conclusions}
% \section{Conclusions}
% Academic science has become increasingly entrepreneurial, and many universities have started support programs to foster technology transfer. An important goal of such programs is to find staff members and students that exhibit the knowledge and potential to transform their results into a product base. However, without a systematic approach to the discovery of potential founders, the scouting process can be challenging, and its success depends on the experience of the persons that execute it.
% In this paper, we studied the discovery of potential founders using a data-driven approach. To do this, we created a novel data set that combines founder information with the corresponding academic activities, and we applied machine learning methods to systematically study the data. Our analysis suggested that it is possible to differentiate founders and non-founders with an average accuracy of 79\%. This accuracy remains mostly stable when applying classifiers trained on one university to another, suggesting the existence of a generic founder profile. The detailed analysis of the classifier indicates a high significance of the career path as well as patent- and grant-related features. We showed that it is possible to exploit the same features to predict the future founding probability up to 3 years in advance, with an accuracy of 80\%. Furthermore, we used the company keywords as well as the FoR categories of publications and patents to investigate the influence of academic background in the founder's company area. The findings revealed that a founder's patents in comparison to publications have a stronger influence on the company's main competencies, and the skill set of a founder's company could be determined by the primary field of their patent(s).
+4 -5
View File
@@ -1,11 +1,10 @@
\section{Technology Lifecycle Forecasting}
\label{sec:tech_forecasting}
In this section, we evaluate the proposed approach across the three mentioned interconnected tasks. After describing the experimental settings, we present the results for forecasting models in predicting future patent activity. Then, we evaluate the performance of lifecycle phase classification. Finally, we assess the combined performance of the forecasting and classification models in predicting future phase transitions.
%All experiments use the 2,774 stabilized IPC trends described in Section~\ref{extraction_stabilized_trends}, each spanning 45 annual patent counts (1978--2022). Training was performed on a single NVIDIA A6000 GPU (48\,GB VRAM).
\subsection{Experimental Settings}
\section{Experimental Settings}
\label{ssec_experimental_settings}
% \textbf{Dataset and phase labels.} Each of the 2,774 series is annotated with eight per-year lifecycle phase labels corresponding to the phases defined in Section~\ref{phase_definitions}: pre-use~(0), growth~(1), peak~(2), decline~(3), second growth~(4), second peak~(5), second decline~(6), and plateau~(7). The mandatory phases---pre-use, growth, peak, decline, and plateau---occur in every series, while the optional second cycle (phases 4--6) appears in approximately 17\% of technologies. The resulting class distribution is heavily skewed: the mandatory phases dominate per-timestep labels, while the optional second-cycle phases and the peak marker represent fewer than 5\% of all labels. The input feature tensor for classification is $(N, 45, 9)$: one raw patent count value per timestep plus an 8-dimensional IPC-section one-hot encoding (sections A--H), repeated identically at each timestep. Forecasting uses a $(N, 45, 10)$ tensor, adding a normalised observation-length indicator that encodes the fraction of the series observed so far.
@@ -81,7 +80,7 @@ We also introduce the oracle baseline which enables us to evaluate the classific
\textbf{Training configuration.} All neural models introduced in \ref{modeling} are implemented in PyTorch and trained with the Adam optimizer on a single NVIDIA A6000 GPU. Table~\ref{tab:train_config} summarizes the training hyperparameters. All models use a CosineAnnealingLR learning rate scheduler that decays the learning rate smoothly from its initial value to near zero over the total epoch budget, enabling fine-grained parameter refinement in later epochs without manual step-wise LR tuning. The batch size is 32 for all models. Statistical forecasting baselines (Prophet, ETS, ARIMA) fit each series independently at inference time with default hyperparameters.
\subsection{Patent Activity Forecasting}
\section{Patent Activity Forecasting}
\label{ssec:fcst}
% The forecasting task predicts future patent filing counts given a partial observation of the first $\ell$ years. The dominant modelling challenge is scale heterogeneity: the 2,774 series span a 700$\times$ range in maximum patent count (median per-series max: 9; mean: 36.5; maximum: 2,165), with 51\% of series having a maximum below 10 and only 7\% exceeding 100. Without normalisation, the MSE loss gradient is dominated by the handful of high-count series, and models learn to predict near-zero for the majority of low-activity technologies.
@@ -192,7 +191,7 @@ Overall, the forecasting results are encouraging. The top five neural models con
%The principal limitation of the forecasting stage is that all models are trained exclusively on ground-truth inputs. When predictions from these models feed into the downstream classifier in the combined pipeline, the classifier encounters a distribution it was never trained on---forecasted series with smoothed peaks, shifted inflection points, and accumulated prediction noise. This train-test distribution mismatch is the dominant source of pipeline error, as quantified in the following section.
\subsection{Phase Classification}
\section{Phase Classification}
\label{ssec:cls}
% The classification task assigns one of eight lifecycle phases to each of the 45 timesteps in a patent count time series. Because the label distribution is heavily skewed toward the mandatory phases (pre-use, growth, decline, plateau), the central challenge is achieving reliable detection of the rare optional phases and the peak marker, which together constitute fewer than 5\% of all timestep labels but carry the most diagnostic information for lifecycle timing.
@@ -298,7 +297,7 @@ Overall, the results support the argument that patent phase classification is a
%However, the remaining gap---particularly on the structurally variable optional phases (F1-mac between 0.594 and 0.682)---indicates that fully automatic lifecycle annotation from count data alone remains an open challenge, especially for secondary-cycle patterns with lower amplitude and shorter duration.
\subsection{Combined Lifecycle Prediction Pipeline}
\section{Combined Lifecycle Prediction Pipeline}
\label{ssec:combined}
In the last step, the combined pipeline answers the operationally relevant question for technology scouts: given only the first $\ell$ years of a technology's patent history, \textit{when} will each future lifecycle phase transition occur? To this end, the forecaster (see Section~\ref{ssec:fcst}) extends the partial observed series, the classifier (see Section~\ref{ssec:cls}) annotates the extended series with lifecycle phase labels, and the year-delta metric quantifies the temporal precision of the resulting prediction.
+10 -2
View File
@@ -7,6 +7,14 @@
% \item Did you close your problem, or there are still things to be solved? If yes, what will you do to solve them?
% \end{itemize}
\section{Summary} \pages{1}
\section{Summary}
\section{Future Work} \pages{1}
% TODO: Summarise the thesis: revisit the problem and objectives from
% Chapter~\ref{chapter:introduction}, and state which were met and how.
\noindent\textit{This section is in preparation.}
\section{Future Work}
% TODO: Open problems and next steps (e.g. completing researcher
% profiling, broadening the case study beyond UDE).
\noindent\textit{This section is in preparation.}
+14188 -13195
View File
File diff suppressed because one or more lines are too long
+51 -28
View File
@@ -354,33 +354,43 @@
\mainmatter
% \part{Overview}
% \label{part:introduction}
% ============================================================
% Part I -- Overview and Motivation
% ============================================================
\part{Overview and Motivation}
\part{Overview and Background}
\chapter{Introduction}
\label{chapter:introduction}
\input{00_introduction/content}
% ============================================================
% Part II -- Analysis and System Design
% ============================================================
\part{Analysis and System Design}
\input{02_analysis/content}
% ============================================================
% Part III -- Foundations
% ============================================================
\part{Foundations}
\chapter{Background and Related Work}
\label{chapter:background}
\input{01_background/content}
\part{Analysis and Components}
\chapter{Analysis}
\label{chapter:analysis}
\input{02_analysis/content}
% \chapter{Implementation}
% \label{chapter:implementation}
% \input{03_implementation/content}
% ============================================================
% Part IV -- Methods and Contributions
% (One chapter per component of the Innovation Search Engine.)
% ============================================================
\part{Methods and Contributions}
\chapter{Organization Mining}
\label{chapter:org_miner}
\input{03_implementation/00_org_miner}
\chapter{Researcher Profiling}
\label{chapter:profiling_researchers}
\input{03_implementation/01_profiling_researchers}
@@ -400,35 +410,48 @@
\label{chapter:tech_forecasting}
\input{03_implementation/05_tech_forecasting}
% ============================================================
% Part V -- Evaluation
% (Mirrors the Methods chapters one-to-one. Evaluation labels
% ============================================================
\part{Evaluation}
\label{chapter:org_miner}
\chapter{Evaluation: Organization Mining}
\label{chapter:eval_org_miner}
\input{04_evaluation/00_org_miner}
\label{chapter:profiling_researchers}
\chapter{Evaluation: Researcher Profiling}
\label{chapter:eval_profiling_researchers}
\input{04_evaluation/01_profiling_researchers}
\label{chapter:collaboration_clusters}
\chapter{Evaluation: Collaboration Clusters and Recommendations}
\label{chapter:eval_collaboration_clusters}
\input{04_evaluation/02_collab_clusters}
\label{chapter:knowledge_clusters}
\chapter{Evaluation: Knowledge Clusters and Expertise Matching}
\label{chapter:eval_knowledge_clusters}
\input{04_evaluation/03_knowledge_clusters}
\label{chapter:founder_potential}
\chapter{Evaluation: Founding Potential and Innovation Metrics}
\label{chapter:eval_founder_potential}
\input{04_evaluation/04_founding_potential}
\label{chapter:tech_forecasting}
\chapter{Evaluation: Technology Lifecycle Forecasting}
\label{chapter:eval_tech_forecasting}
\input{04_evaluation/05_tech_forecasting}
% ============================================================
% Part VI -- Case Study and Conclusion
% ============================================================
\part{Case Study and Conclusion}
\chapter{Case Study: University of Duisburg-Essen}
\label{chapter:ude_usecase}
\input{03_implementation/06_ude_usecase}
% \chapter{Discussion}
% \label{chapter:discussion}
% \input{05_discussion/content}
% \chapter{Acknowledgments}
% \label{chapter:acknowledgments}
% \input{06_acknowledgments/content}
\chapter{Discussion and Conclusion}
\label{chapter:conclusion}
\input{05_discussion/content}
%\part{Recognition}
%\label{part:recognition}
+154
View File
@@ -0,0 +1,154 @@
{\rtf1\ansi\ansicpg1252\cocoartf2822
\cocoatextscaling0\cocoaplatform0{\fonttbl\f0\fswiss\fcharset0 Helvetica;\f1\fnil\fcharset0 Menlo-Regular;}
{\colortbl;\red255\green255\blue255;\red118\green118\blue118;\red255\green255\blue255;\red252\green99\blue94;
\red151\green205\blue255;\red173\green177\blue177;\red205\green172\blue105;\red190\green199\blue208;\red150\green204\blue255;
\red15\green16\blue16;\red173\green176\blue178;\red205\green173\blue106;\red252\green99\blue95;\red189\green198\blue208;
\red173\green176\blue178;}
{\*\expandedcolortbl;;\cssrgb\c53691\c53693\c53692;\cssrgb\c100000\c100000\c99985;\cssrgb\c100000\c48151\c44372;
\cssrgb\c65092\c84363\c100000;\cssrgb\c73503\c74682\c74891;\cssrgb\c84195\c72766\c48633;\cssrgb\c79043\c82190\c85130;\cssrgb\c64706\c83922\c100000;
\cssrgb\c7059\c7451\c7843;\cssrgb\c73333\c74510\c74902;\cssrgb\c84314\c72941\c49020;\cssrgb\c100000\c48235\c44706;\cssrgb\c78824\c81961\c85098;
\cssrgb\c73333\c74510\c74902;}
\paperw11900\paperh16840\margl1440\margr1440\vieww28600\viewh14680\viewkind0
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural\partightenfactor0
\f0\fs24 \cf0 LLAMA PROMPT:\
Identifying FACULTY HOMEPAGE:\
\pard\pardeftab720\partightenfactor0
\f1 \cf2 \cb3 \expnd0\expndtw0\kerning0
\outl0\strokewidth0 \strokec4 f\cf2 \cb3 \strokec5 """You are a classification assistant, specialized in idenfiying university faculty homepages. \cf2 \cb3 \strokec6 \
\pard\pardeftab720\partightenfactor0
\cf2 \cb3 \strokec5 You will be given attributes of university webpages as key value pairs.\cf2 \cb3 \strokec6 \
\cf2 \cb3 \strokec5 These attributes include: \cf2 \cb3 \strokec6 \
\cf2 \cb3 \strokec5 - 'pagedepth': The distance of the given webpage from the base URL of the university. The lower depth indicates, that a webpage is closer to the base URL, which indicates a faculty homepage. A higher depth, shows the webpages further down the web page hierarchy, indicating non-faculty webpages such as insitutes, news , chairs, ...\cf2 \cb3 \strokec6 \
\cf2 \cb3 \strokec5 - 'headings': The headings of the given webpage (the single headings are separated by a ';'). This attribute is important . Here the words such as welcome, faculty or other similar keywords are a clear indication of a faculty homepage.\cf2 \cb3 \strokec6 \
\cf2 \cb3 \strokec5 - 'text': The extracted text content of the given webpage. Faculty home pages often include relevant keywords such as 'welcome to the faculty X', or 'home page of faculty X' and often include text to their chairs or insitutes or other high level information such as faculty news. Therefore consider that the faculties contains these types of information.\cf2 \cb3 \strokec6 \
\
\cf2 \cb3 \strokec5 Here are some examples of faculty homepages (Positive) and non-faculty homepages (Negative):\cf2 \cb3 \strokec7 \\n\cf2 \cb3 \strokec6 \
\cf2 \cb3 \strokec5 1.\cf2 \cb3 \strokec7 \\n\cf2 \cb3 \strokec5 - pagedepth: '\cf2 \cb3 \strokec4 \{\cf2 \cb3 \strokec8 example_pagedepth_faculty\cf2 \cb3 \strokec4 \}\cf2 \cb3 \strokec5 ', \cf2 \cb3 \strokec7 \\n\cf2 \cb3 \strokec5 - headings: '\cf2 \cb3 \strokec4 \{\cf2 \cb3 \strokec8 example_headings_faculty\cf2 \cb3 \strokec4 \}\cf2 \cb3 \strokec5 ', \cf2 \cb3 \strokec7 \\n\cf2 \cb3 \strokec5 - text: '\cf2 \cb3 \strokec4 \{\cf2 \cb3 \strokec8 text_faculty_single\cf2 \cb3 \strokec4 \}\cf2 \cb3 \strokec5 ' \cf2 \cb3 \strokec7 \\n\cf2 \cb3 \strokec5 -> Positive\cf2 \cb3 \strokec7 \\n\cf2 \cb3 \strokec6 \
\cf2 \cb3 \strokec5 2.\cf2 \cb3 \strokec7 \\n\cf2 \cb3 \strokec5 - pagedepth: '\cf2 \cb3 \strokec4 \{\cf2 \cb3 \strokec8 example_pagedepth_others\cf2 \cb3 \strokec4 \}\cf2 \cb3 \strokec5 ', \cf2 \cb3 \strokec7 \\n\cf2 \cb3 \strokec5 - headings: '\cf2 \cb3 \strokec4 \{\cf2 \cb3 \strokec8 example_headings_others\cf2 \cb3 \strokec4 \}\cf2 \cb3 \strokec5 ', \cf2 \cb3 \strokec7 \\n\cf2 \cb3 \strokec5 - text: '\cf2 \cb3 \strokec4 \{\cf2 \cb3 \strokec8 text_others_single\cf2 \cb3 \strokec4 \}\cf2 \cb3 \strokec5 ' \cf2 \cb3 \strokec7 \\n\cf2 \cb3 \strokec5 -> Negative\cf2 \cb3 \strokec7 \\n\cf2 \cb3 \strokec6 \
\cf2 \cb3 \strokec5 3.\cf2 \cb3 \strokec7 \\n\cf2 \cb3 \strokec5 - pagedepth: '\cf2 \cb3 \strokec4 \{\cf2 \cb3 \strokec8 example_pagedepth_institute\cf2 \cb3 \strokec4 \}\cf2 \cb3 \strokec5 ', \cf2 \cb3 \strokec7 \\n\cf2 \cb3 \strokec5 - headings: '\cf2 \cb3 \strokec4 \{\cf2 \cb3 \strokec8 example_headings_institute\cf2 \cb3 \strokec4 \}\cf2 \cb3 \strokec5 ', \cf2 \cb3 \strokec7 \\n\cf2 \cb3 \strokec5 - text: '\cf2 \cb3 \strokec4 \{\cf2 \cb3 \strokec8 example_institute_text_content_single\cf2 \cb3 \strokec4 \}\cf2 \cb3 \strokec5 ' \cf2 \cb3 \strokec7 \\n\cf2 \cb3 \strokec5 -> Negative\cf2 \cb3 \strokec7 \\n\\n\cf2 \cb3 \strokec6 \
\cf2 \cb3 \strokec5 \cf2 \cb3 \strokec6 \
\cf2 \cb3 \strokec5 You will use these attributes and examples to determine, whether a webpage attributes are Negative (no faculty main homepage) or Positive (is a faculty main homepage).\cf2 \cb3 \strokec6 \
\cf2 \cb3 \strokec5 Please note that only faculty homepages are searched.\cf2 \cb3 \strokec6 \
\cf2 \cb3 \strokec5 Homepages of institutes (Example 3) or chairs are to be classified as 'Negative'.\cf2 \cb3 \strokec6 \
\cf2 \cb3 \strokec5 You will answer only with Positive or Negative.\cf2 \cb3 \strokec6 \
\cf2 \cb3 \strokec5 """\
\
Identifying INSTITUE OR CHAIR HOMEPAGE:\
\pard\pardeftab720\partightenfactor0
\cf9 \cb10 \strokec9 """You are a classification assistant, specialized in idenfiying university institute and chair homepages. \cf11 \cb1 \strokec11 \
\cf9 \cb10 \strokec9 You will be given attributes of university webpages as key value pairs.\cf11 \cb1 \strokec11 \
\cf9 \cb10 \strokec9 These attributes include: \cf11 \cb1 \strokec11 \
\cf9 \cb10 \strokec9 - 'pagedepth': The distance of the given webpage from the base URL of the university.\cf11 \cb1 \strokec11 \
\cf9 \cb10 \strokec9 - 'headings': The headings of the given webpage (the single headings are separated by a ';'). This attribute is important . Here the words such as welcome, institute, chair or other similar keywords are a clear indication of a institute or chair homepage.\cf11 \cb1 \strokec11 \
\cf9 \cb10 \strokec9 - 'text': The extracted text content of the given webpage. Institute/ chair homepages often include relevant keywords such as 'welcome to the institute X' or 'homepage of chair X' and often include text to their members or other high level information such as institute/ chair news. Therefore consider that the institutes or chairs contains these types of information.\cf11 \cb1 \strokec11 \
\
\cf9 \cb10 \strokec9 Here are some examples of institute homepages (Positive), chair homepages (positive) and non-institute/ non-chair homepages (Negative):\cf12 \strokec12 \\n\cf11 \cb1 \strokec11 \
\cf9 \cb10 \strokec9 1.\cf12 \strokec12 \\n\cf9 \strokec9 - pagedepth: '\cf13 \strokec13 \{\cf14 \strokec14 example_pagedepth_institute\cf13 \strokec13 \}\cf9 \strokec9 ', \cf12 \strokec12 \\n\cf9 \strokec9 - headings: '\cf13 \strokec13 \{\cf14 \strokec14 example_headings_institute\cf13 \strokec13 \}\cf9 \strokec9 ', \cf12 \strokec12 \\n\cf9 \strokec9 - text: '\cf13 \strokec13 \{\cf14 \strokec14 text_institutes_single\cf13 \strokec13 \}\cf9 \strokec9 ' \cf12 \strokec12 \\n\cf9 \strokec9 -> Positive\cf12 \strokec12 \\n\cf11 \cb1 \strokec11 \
\cf9 \cb10 \strokec9 2.\cf12 \strokec12 \\n\cf9 \strokec9 - pagedepth: '\cf13 \strokec13 \{\cf14 \strokec14 example_pagedepth_chair\cf13 \strokec13 \}\cf9 \strokec9 ', \cf12 \strokec12 \\n\cf9 \strokec9 - headings: '\cf13 \strokec13 \{\cf14 \strokec14 example_headings_chair\cf13 \strokec13 \}\cf9 \strokec9 ', \cf12 \strokec12 \\n\cf9 \strokec9 - text: '\cf13 \strokec13 \{\cf14 \strokec14 text_chairs_single\cf13 \strokec13 \}\cf9 \strokec9 ' \cf12 \strokec12 \\n\cf9 \strokec9 -> Positive\cf12 \strokec12 \\n\cf11 \cb1 \strokec11 \
\cf9 \cb10 \strokec9 3.\cf12 \strokec12 \\n\cf9 \strokec9 - pagedepth: '\cf13 \strokec13 \{\cf14 \strokec14 example_pagedepth_others\cf13 \strokec13 \}\cf9 \strokec9 ', \cf12 \strokec12 \\n\cf9 \strokec9 - headings: '\cf13 \strokec13 \{\cf14 \strokec14 example_headings_others\cf13 \strokec13 \}\cf9 \strokec9 ', \cf12 \strokec12 \\n\cf9 \strokec9 - text: '\cf13 \strokec13 \{\cf14 \strokec14 text_others_single\cf13 \strokec13 \}\cf9 \strokec9 ' \cf12 \strokec12 \\n\cf9 \strokec9 -> Negative\cf12 \strokec12 \\n\\n\cf11 \cb1 \strokec11 \
\
\cf9 \cb10 \strokec9 You will use these attributes and examples to determine, whether a webpage attributes are Negative (no institute or chair main homepage) or Positive (is a institute or chair main homepage).\cf11 \cb1 \strokec11 \
\cf9 \cb10 \strokec9 Please note that only institute and chair homepages are searched.\cf11 \cb1 \strokec11 \
\cf9 \cb10 \strokec9 Homepages of faculties are to be classified as 'Negative'.\cf11 \cb1 \strokec11 \
\cf9 \cb10 \strokec9 You will answer only with Positive or Negative.\cf11 \cb1 \strokec11 \
\cf9 \cb10 \strokec9 """\cf11 \cb1 \strokec11 \
\pard\pardeftab720\partightenfactor0
\cf2 \cb3 \strokec5 \
OPENAI PROMPT:\
\
Identifying FACULTY HOMEPAGE:\
\pard\pardeftab720\partightenfactor0
\cf9 \cb10 \strokec9 """You are a classification assistant, specialized in idenfiying university faculty homepages. \cf11 \cb1 \strokec11 \
\cf9 \cb10 \strokec9 You will be given attributes of university webpages as key value pairs.\cf11 \cb1 \strokec11 \
\cf9 \cb10 \strokec9 These attributes include: \cf11 \cb1 \strokec11 \
\cf9 \cb10 \strokec9 - 'pagedepth': The distance of the given webpage from the base URL of the university. The lower depth indicates, that a webpage is closer to the base URL, which indicates a faculty homepage. A higher depth, shows the webpages further down the web page hierarchy, indicating non-faculty webpages such as insitutes, news , chairs, ...\cf11 \cb1 \strokec11 \
\cf9 \cb10 \strokec9 - 'headings': The headings of the given webpage (the single headings are separated by a ';'). This attribute is important . Here the words such as welcome, faculty or other similar keywords are a clear indication of a faculty homepage.\cf11 \cb1 \strokec11 \
\cf9 \cb10 \strokec9 - 'text': The extracted text content of the given webpage. Faculty home pages often include relevant keywords such as 'welcome to the faculty X', or 'home page of faculty X' and often include text to their chairs or insitutes or other high level information such as faculty news. Therefore consider that the faculties contains these types of information.\cf11 \cb1 \strokec11 \
\
\cf9 \cb10 \strokec9 Here are some examples of faculty homepages (Positive) and non-faculty homepages (Negative):\cf12 \strokec12 \\n\cf11 \cb1 \strokec11 \
\cf9 \cb10 \strokec9 1.\cf12 \strokec12 \\n\cf9 \strokec9 - pagedepth: '\cf13 \strokec13 \{\cf14 \strokec14 example_pagedepth_faculty\cf13 \strokec13 \}\cf9 \strokec9 ', \cf12 \strokec12 \\n\cf9 \strokec9 - headings: '\cf13 \strokec13 \{\cf14 \strokec14 example_headings_faculty\cf13 \strokec13 \}\cf9 \strokec9 ', \cf12 \strokec12 \\n\cf9 \strokec9 - text: '\cf13 \strokec13 \{\cf14 \strokec14 example_text_faculty\cf13 \strokec13 \}\cf9 \strokec9 ' \cf12 \strokec12 \\n\cf9 \strokec9 -> Positive\cf12 \strokec12 \\n\cf11 \cb1 \strokec11 \
\cf9 \cb10 \strokec9 2.\cf12 \strokec12 \\n\cf9 \strokec9 - pagedepth: '\cf13 \strokec13 \{\cf14 \strokec14 example_pagedepth_faculty2\cf13 \strokec13 \}\cf9 \strokec9 ', \cf12 \strokec12 \\n\cf9 \strokec9 - headings: '\cf13 \strokec13 \{\cf14 \strokec14 example_headings_faculty2\cf13 \strokec13 \}\cf9 \strokec9 ', \cf12 \strokec12 \\n\cf9 \strokec9 - text: '\cf13 \strokec13 \{\cf14 \strokec14 example_text_faculty2\cf13 \strokec13 \}\cf9 \strokec9 ' \cf12 \strokec12 \\n\cf9 \strokec9 -> Positive\cf12 \strokec12 \\n\cf11 \cb1 \strokec11 \
\cf9 \cb10 \strokec9 3.\cf12 \strokec12 \\n\cf9 \strokec9 - pagedepth: '\cf13 \strokec13 \{\cf14 \strokec14 example_pagedepth_others\cf13 \strokec13 \}\cf9 \strokec9 ', \cf12 \strokec12 \\n\cf9 \strokec9 - headings: '\cf13 \strokec13 \{\cf14 \strokec14 example_headings_others\cf13 \strokec13 \}\cf9 \strokec9 ', \cf12 \strokec12 \\n\cf9 \strokec9 - text: '\cf13 \strokec13 \{\cf14 \strokec14 example_text_others\cf13 \strokec13 \}\cf9 \strokec9 ' \cf12 \strokec12 \\n\cf9 \strokec9 -> Negative\cf12 \strokec12 \\n\cf11 \cb1 \strokec11 \
\cf9 \cb10 \strokec9 4.\cf12 \strokec12 \\n\cf9 \strokec9 - pagedepth: '\cf13 \strokec13 \{\cf14 \strokec14 example_pagedepth_others2\cf13 \strokec13 \}\cf9 \strokec9 ', \cf12 \strokec12 \\n\cf9 \strokec9 - headings: '\cf13 \strokec13 \{\cf14 \strokec14 example_headings_others2\cf13 \strokec13 \}\cf9 \strokec9 ', \cf12 \strokec12 \\n\cf9 \strokec9 - text: '\cf13 \strokec13 \{\cf14 \strokec14 example_text_others2\cf13 \strokec13 \}\cf9 \strokec9 ' \cf12 \strokec12 \\n\cf9 \strokec9 -> Negative\cf12 \strokec12 \\n\cf11 \cb1 \strokec11 \
\cf9 \cb10 \strokec9 5.\cf12 \strokec12 \\n\cf9 \strokec9 - pagedepth: '\cf13 \strokec13 \{\cf14 \strokec14 example_pagedepth_institute\cf13 \strokec13 \}\cf9 \strokec9 ', \cf12 \strokec12 \\n\cf9 \strokec9 - headings: '\cf13 \strokec13 \{\cf14 \strokec14 example_headings_institute\cf13 \strokec13 \}\cf9 \strokec9 ', \cf12 \strokec12 \\n\cf9 \strokec9 - text: '\cf13 \strokec13 \{\cf14 \strokec14 example_text_institute\cf13 \strokec13 \}\cf9 \strokec9 ' \cf12 \strokec12 \\n\cf9 \strokec9 -> Negative\cf12 \strokec12 \\n\\n\cf11 \cb1 \strokec11 \
\cf9 \cb10 \strokec9 \cf11 \cb1 \strokec11 \
\cf9 \cb10 \strokec9 You will use these attributes and examples to determine, whether a webpage attributes are Negative (no faculty main homepage) or Positive (is a faculty main homepage).\cf11 \cb1 \strokec11 \
\cf9 \cb10 \strokec9 Please note that only faculty homepages are searched.\cf11 \cb1 \strokec11 \
\cf9 \cb10 \strokec9 Homepages of institutes (Example 5) or chairs are to be classified as 'Negative'.\cf11 \cb1 \strokec11 \
\cf9 \cb10 \strokec9 You will answer only with Positive or Negative.\cf11 \cb1 \strokec11 \
\cf9 \cb10 \strokec9 """\
\
IDENTIFYING INSITUTES OR CHAIRS HOMEPAGE:\
You are a classification assistant, specialized in idenfiying university institute and chair homepages. \cf11 \cb1 \strokec11 \
\cf9 \cb10 \strokec9 You will be given attributes of university webpages as key value pairs.\cf11 \cb1 \strokec11 \
\cf9 \cb10 \strokec9 These attributes include: \cf11 \cb1 \strokec11 \
\cf9 \cb10 \strokec9 - 'pagedepth': The distance of the given webpage from the base URL of the university.\cf11 \cb1 \strokec11 \
\cf9 \cb10 \strokec9 - 'headings': The headings of the given webpage (the single headings are separated by a ';'). This attribute is important . Here the words such as welcome, institute, chair or other similar keywords are a clear indication of a institute or chair homepage.\cf11 \cb1 \strokec11 \
\cf9 \cb10 \strokec9 - 'text': The extracted text content of the given webpage. Institute/ chair homepages often include relevant keywords such as 'welcome to the institute X' or 'homepage of chair X' and often include text to their members or other high level information such as institute/ chair news. Therefore consider that the institutes or chairs contains these types of information.\cf11 \cb1 \strokec11 \
\
\cf9 \cb10 \strokec9 Here are some examples of institute homepages (Positive), chair homepages (positive) and non-institute/ non-chair homepages (Negative):\cf12 \strokec12 \\n\cf11 \cb1 \strokec11 \
\cf9 \cb10 \strokec9 1.\cf12 \strokec12 \\n\cf9 \strokec9 - pagedepth: '\cf13 \strokec13 \{\cf14 \strokec14 example_pagedepth_institute\cf13 \strokec13 \}\cf9 \strokec9 ', \cf12 \strokec12 \\n\cf9 \strokec9 - headings: '\cf13 \strokec13 \{\cf14 \strokec14 example_headings_institute\cf13 \strokec13 \}\cf9 \strokec9 ', \cf12 \strokec12 \\n\cf9 \strokec9 - text: '\cf13 \strokec13 \{\cf14 \strokec14 example_text_institute\cf13 \strokec13 \}\cf9 \strokec9 ' \cf12 \strokec12 \\n\cf9 \strokec9 -> Positive\cf12 \strokec12 \\n\cf11 \cb1 \strokec11 \
\cf9 \cb10 \strokec9 2.\cf12 \strokec12 \\n\cf9 \strokec9 - pagedepth: '\cf13 \strokec13 \{\cf14 \strokec14 example_pagedepth_institute2\cf13 \strokec13 \}\cf9 \strokec9 ', \cf12 \strokec12 \\n\cf9 \strokec9 - headings: '\cf13 \strokec13 \{\cf14 \strokec14 example_headings_institute2\cf13 \strokec13 \}\cf9 \strokec9 ', \cf12 \strokec12 \\n\cf9 \strokec9 - text: '\cf13 \strokec13 \{\cf14 \strokec14 example_text_institute2\cf13 \strokec13 \}\cf9 \strokec9 ' \cf12 \strokec12 \\n\cf9 \strokec9 -> Positive\cf12 \strokec12 \\n\cf11 \cb1 \strokec11 \
\cf9 \cb10 \strokec9 3.\cf12 \strokec12 \\n\cf9 \strokec9 - pagedepth: '\cf13 \strokec13 \{\cf14 \strokec14 example_pagedepth_chair\cf13 \strokec13 \}\cf9 \strokec9 ', \cf12 \strokec12 \\n\cf9 \strokec9 - headings: '\cf13 \strokec13 \{\cf14 \strokec14 example_headings_chair\cf13 \strokec13 \}\cf9 \strokec9 ', \cf12 \strokec12 \\n\cf9 \strokec9 - text: '\cf13 \strokec13 \{\cf14 \strokec14 example_text_chair\cf13 \strokec13 \}\cf9 \strokec9 ' \cf12 \strokec12 \\n\cf9 \strokec9 -> Positive\cf12 \strokec12 \\n\cf11 \cb1 \strokec11 \
\cf9 \cb10 \strokec9 4.\cf12 \strokec12 \\n\cf9 \strokec9 - pagedepth: '\cf13 \strokec13 \{\cf14 \strokec14 example_pagedepth_chair2\cf13 \strokec13 \}\cf9 \strokec9 ', \cf12 \strokec12 \\n\cf9 \strokec9 - headings: '\cf13 \strokec13 \{\cf14 \strokec14 example_headings_chair2\cf13 \strokec13 \}\cf9 \strokec9 ', \cf12 \strokec12 \\n\cf9 \strokec9 - text: '\cf13 \strokec13 \{\cf14 \strokec14 example_text_chair2\cf13 \strokec13 \}\cf9 \strokec9 ' \cf12 \strokec12 \\n\cf9 \strokec9 -> Positive\cf12 \strokec12 \\n\cf11 \cb1 \strokec11 \
\cf9 \cb10 \strokec9 5.\cf12 \strokec12 \\n\cf9 \strokec9 - pagedepth: '\cf13 \strokec13 \{\cf14 \strokec14 example_pagedepth_others\cf13 \strokec13 \}\cf9 \strokec9 ', \cf12 \strokec12 \\n\cf9 \strokec9 - headings: '\cf13 \strokec13 \{\cf14 \strokec14 example_headings_others\cf13 \strokec13 \}\cf9 \strokec9 ', \cf12 \strokec12 \\n\cf9 \strokec9 - text: '\cf13 \strokec13 \{\cf14 \strokec14 example_text_others\cf13 \strokec13 \}\cf9 \strokec9 ' \cf12 \strokec12 \\n\cf9 \strokec9 -> Negative\cf12 \strokec12 \\n\\n\cf11 \cb1 \strokec11 \
\cf9 \cb10 \strokec9 6.\cf12 \strokec12 \\n\cf9 \strokec9 - pagedepth: '\cf13 \strokec13 \{\cf14 \strokec14 example_pagedepth_others2\cf13 \strokec13 \}\cf9 \strokec9 ', \cf12 \strokec12 \\n\cf9 \strokec9 - headings: '\cf13 \strokec13 \{\cf14 \strokec14 example_headings_others2\cf13 \strokec13 \}\cf9 \strokec9 ', \cf12 \strokec12 \\n\cf9 \strokec9 - text: '\cf13 \strokec13 \{\cf14 \strokec14 example_text_others2\cf13 \strokec13 \}\cf9 \strokec9 ' \cf12 \strokec12 \\n\cf9 \strokec9 -> Negative\cf12 \strokec12 \\n\\n\cf11 \cb1 \strokec11 \
\
\cf9 \cb10 \strokec9 You will use these attributes and examples to determine, whether a webpage attributes are Negative (no institute or chair main homepage) or Positive (is a institute or chair main homepage).\cf11 \cb1 \strokec11 \
\cf9 \cb10 \strokec9 Please note that only institute and chair homepages are searched.\cf11 \cb1 \strokec11 \
\cf9 \cb10 \strokec9 Homepages of faculties are to be classified as 'Negative'.\cf11 \cb1 \strokec11 \
\cf9 \cb10 \strokec9 You will answer only with Positive or Negative.\cf11 \cb1 \strokec11 \
\
\
\
\
\
LLAMA ANALYSIS (REASONING APPROACH) INSITUTES CHAIRS PROMPT:\
\cf9 \cb10 \strokec9 You are a classification assistant, specialized in idenfiying university institute and chair homepages. \cf11 \cb1 \strokec11 \
\cf9 \cb10 \strokec9 You will be given the extracted text content of the given webpage. Institute/ chair homepages often include relevant keywords such as 'welcome to the institute X' or 'homepage of chair X' and often include text to their members or other high level information such as institute/ chair news. Therefore consider that the institutes or chairs contains these types of information.\cf11 \cb1 \strokec11 \
\cf9 \cb10 \strokec9 You get that text as a key value pair.\cf11 \cb1 \strokec11 \
\
\cf9 \cb10 \strokec9 Here are some examples of institute homepages (Positive), chair homepages (positive) and non-institute/ non-chair homepages (Negative):\cf12 \strokec12 \\n\cf11 \cb1 \strokec11 \
\cf9 \cb10 \strokec9 1.\cf12 \strokec12 \\n\cf9 \strokec9 - text: '\cf13 \strokec13 \{\cf14 \strokec14 text_institutes_single\cf13 \strokec13 \}\cf9 \strokec9 ' \cf12 \strokec12 \\n\cf9 \strokec9 -> Positive\cf12 \strokec12 \\n\cf11 \cb1 \strokec11 \
\cf9 \cb10 \strokec9 2.\cf12 \strokec12 \\n\cf9 \strokec9 - text: '\cf13 \strokec13 \{\cf14 \strokec14 text_chairs_single\cf13 \strokec13 \}\cf9 \strokec9 ' \cf12 \strokec12 \\n\cf9 \strokec9 -> Positive\cf12 \strokec12 \\n\cf11 \cb1 \strokec11 \
\cf9 \cb10 \strokec9 3.\cf12 \strokec12 \\n\cf9 \strokec9 - text: '\cf13 \strokec13 \{\cf14 \strokec14 text_others_single\cf13 \strokec13 \}\cf9 \strokec9 ' \cf12 \strokec12 \\n\cf9 \strokec9 -> Negative\cf12 \strokec12 \\n\\n\cf11 \cb1 \strokec11 \
\
\cf9 \cb10 \strokec9 You will use these texts and examples to determine, whether a webpage attributes are Negative (no institute or chair main homepage) or Positive (is a institute or chair main homepage).\cf11 \cb1 \strokec11 \
\cf9 \cb10 \strokec9 Please note that only institute and chair homepages are searched.\cf11 \cb1 \strokec11 \
\cf9 \cb10 \strokec9 Homepages of faculties are to be classified as 'Negative'.\cf11 \cb1 \strokec11 \
\cf9 \cb10 \strokec9 You will answer only with Positive or Negative.\cf11 \cb1 \strokec11 \
\
\pard\pardeftab720\partightenfactor0
\cf15 \outl0\strokewidth0 OPENAI ANALYSIS (REASONING APPROACH) INSITUTES CHAIRS PROMPT:\cf11 \outl0\strokewidth0 \strokec11 \
\pard\pardeftab720\partightenfactor0
\cf9 \cb10 \strokec9 You are a classification assistant, specialized in idenfiying university institute and chair homepages. \cf11 \cb1 \strokec11 \
\cf9 \cb10 \strokec9 You will be given the extracted text content of the given webpage. Institute/ chair homepages often include relevant keywords such as 'welcome to the institute X' or 'homepage of chair X' and often include text to their members or other high level information such as institute/ chair news. Therefore consider that the institutes or chairs contains these types of information.\cf11 \cb1 \strokec11 \
\cf9 \cb10 \strokec9 You get that text as a key value pair.\cf11 \cb1 \strokec11 \
\
\cf9 \cb10 \strokec9 Here are some examples of institute homepages (Positive), chair homepages (positive) and non-institute/ non-chair homepages (Negative):\cf12 \strokec12 \\n\cf11 \cb1 \strokec11 \
\cf9 \cb10 \strokec9 1.\cf12 \strokec12 \\n\cf9 \strokec9 - text: '\cf13 \strokec13 \{\cf14 \strokec14 example_institute\cf13 \strokec13 \}\cf9 \strokec9 ' \cf12 \strokec12 \\n\cf9 \strokec9 -> Positive\cf12 \strokec12 \\n\cf11 \cb1 \strokec11 \
\cf9 \cb10 \strokec9 2.\cf12 \strokec12 \\n\cf9 \strokec9 - text: '\cf13 \strokec13 \{\cf14 \strokec14 example_chair\cf13 \strokec13 \}\cf9 \strokec9 ' \cf12 \strokec12 \\n\cf9 \strokec9 -> Positive\cf12 \strokec12 \\n\cf11 \cb1 \strokec11 \
\cf9 \cb10 \strokec9 3.\cf12 \strokec12 \\n\cf9 \strokec9 - text: '\cf13 \strokec13 \{\cf14 \strokec14 example_other\cf13 \strokec13 \}\cf9 \strokec9 ' \cf12 \strokec12 \\n\cf9 \strokec9 -> Negative\cf12 \strokec12 \\n\\n\cf11 \cb1 \strokec11 \
\
\cf9 \cb10 \strokec9 You will use these attributes and examples to determine, whether a webpage attributes are Negative (no institute or chair main homepage) or Positive (is a institute or chair main homepage).\cf11 \cb1 \strokec11 \
\cf9 \cb10 \strokec9 Please note that only institute and chair homepages are searched.\cf11 \cb1 \strokec11 \
\cf9 \cb10 \strokec9 Homepages of faculties are to be classified as 'Negative'.\cf11 \cb1 \strokec11 \
\cf9 \cb10 \strokec9 You will answer only with Positive or Negative.\cf11 \cb1 \strokec11 \
\
\
AGGREGATOR EVALUATION PROMPT:\
\cf9 \cb10 \strokec9 You are a classification assistant, specialized in idenfiying university pages which contain a list of the faculties, institutes or chairs. \cf11 \cb1 \strokec11 \
\cf9 \cb10 \strokec9 You will be given the extracted text content of the given webpage.\cf11 \cb1 \strokec11 \
\cf9 \cb10 \strokec9 You get that text as a key value pair.\cf11 \cb1 \strokec11 \
\
\cf9 \cb10 \strokec9 You will use these text to determine, whether a webpage attributes are Negative (does not contain a list of the faculties, institutes or chairs) or Positive (contains a list of the faculties, institutes or chairs).\cf11 \cb1 \strokec11 \
\cf9 \cb10 \strokec9 You will answer only with Positive or Negative.\cf11 \cb1 \strokec11 \
\
\pard\pardeftab720\partightenfactor0
\cf9 \cb10 \strokec9 \
\
\pard\pardeftab720\partightenfactor0
\cf11 \cb1 \strokec11 \
}
+982
View File
@@ -0,0 +1,982 @@
--------------------------------------------------------------------DATE - > 17.09.2024----------------------------------------------------------------------
INITIAL PIPELINE:
initialize_queue( setup traversal, start with initial URL and target concepts )
→ find_aggregators( detect candidate aggregator pages, look for links containing plural concept names and verify them by extracting children )
→ create_aggregator( validate aggregator, open candidate page and collect links that point to actual concept instances )
→ expand_children( improve recall, optionally add more children using geometry alignment and homepage resolution )
→ resolve_links( clean results, normalize and deduplicate child URLs after redirects )
→ enqueue_children( recursive exploration, push child pages with remaining concepts to continue hierarchical search )
→ handle_dynamic_menus( uncover hidden navigation, follow menu-like links such as “faculties” or “institutions” )
→ repeat_loop( breadth-first traversal, continue until no pages remain in queue )
→ disambiguate_children( resolve conflicts, assign children to the most likely concept based on text matching )
→ return_results( output structure, provide all discovered aggregator pages with their children )
The evaluation of the old ude_predictions data shown the results:
UDE
---
F1-Score (WITH domain FILTER) -> faculties:1.0, institutes:0.6444, chairs:0.6912
+Evaluating ConceptType.FACULTY
Predictions 12 Truth 12
TP 12 FP 0 FN 0
P 1.0 R 1.0 F1 1.0
+Evaluating ConceptType.INSTITUTE
Predictions 46 Truth 45
TP 29 FP 16 FN 16
P 0.6444444444444445 R 0.6444444444444445 F1 0.6444444444444445
+Evaluating ConceptType.CHAIR
Predictions 418 Truth 423
TP 290 FP 126 FN 133
P 0.6971153846153846 R 0.6855791962174941 F1 0.6912991656734208
---
TUD
---
F1-Score (WITH domain FILTER) -> faculties:0.7391, institutes:0.1666, chairs:0.2914 -> low scores
**Evaluating ConceptType.FACULTY
Predictions 29 Truth 17
TP 17 FP 12 FN 0
P 0.5862068965517241 R 1.0 F1 0.7391304347826086
**Evaluating ConceptType.INSTITUTE
Predictions 4 Truth 32
TP 3 FP 1 FN 29
P 0.75 R 0.09375 F1 0.16666666666666666
**Evaluating ConceptType.CHAIR
Predictions 127 Truth 271
TP 58 FP 69 FN 213
P 0.4566929133858268 R 0.2140221402214022 F1 0.2914572864321608
---
MUE
---
F1-Score (WITH domain FILTER) -> faculties:0.4745, institutes:0.6933, chairs:0.4865
**Evaluating ConceptType.FACULTY
Predictions 44 Truth 15
TP 14 FP 30 FN 1
P 0.3181818181818182 R 0.9333333333333333 F1 0.47457627118644075
**Evaluating ConceptType.INSTITUTE
Predictions 166 Truth 135
TP 104 FP 61 FN 31
P 0.6303030303030303 R 0.7703703703703704 F1 0.6933333333333334
**Evaluating ConceptType.CHAIR
Predictions 271 Truth 436
TP 172 FP 99 FN 264
P 0.6346863468634686 R 0.3944954128440367 F1 0.48656294200848654
---
##############################################################################################################################################
ml_multi_algorithm.ipynb:
It was tested if a machine learning algorithm can classify pages based on their first 10 <heads>(headings like h1,h2...)
We took truth files and all pages inside of it, then we downloaded all the pages and extracted their <heads>.
Then we fitted the <heads> into a SGDClassifier (0.75/0.25 train/test) to observe if the pages can be classified correctly(aggregator/faculty/chair/institute)
---------------------------------------------------------------(UNBALANCED)-------------------------------------------------------
Results for all unis:
precision recall f1-score support
AGGREGATOR 0.57 0.44 0.50 18
CHAIR 0.88 0.91 0.89 243
FACULTY 0.82 0.69 0.75 13
INSTITUTE 0.53 0.51 0.52 51
accuracy 0.81 325
macro avg 0.70 0.64 0.67 325
weighted avg 0.80 0.81 0.81 325
Obsevations: not bad results for FACULTY and CHAIR (F1 > 0.75) but not satisfying results for AGGREGATOR and INSTITUTE (F1=~0.50)
#MUENSTER ONLY-----------------------------------------------------------------
chairs 375
institutes 136
faculties 15
aggs 60
precision recall f1-score support
AGGREGATOR 0.50 0.75 0.60 12
CHAIR 0.88 0.76 0.82 102
FACULTY 1.00 0.67 0.80 6
INSTITUTE 0.53 0.70 0.60 27
accuracy 0.75 147
macro avg 0.73 0.72 0.70 147
weighted avg 0.79 0.75 0.76 147
#UDE ONLY------------------------------------------------------------------
chairs 309
institutes 46
faculties 12
aggs 30
precision recall f1-score support
AGGREGATOR 0.50 0.25 0.33 8
CHAIR 0.86 0.93 0.89 76
FACULTY 0.80 0.80 0.80 5
INSTITUTE 0.25 0.18 0.21 11
accuracy 0.79 100
macro avg 0.60 0.54 0.56 100
weighted avg 0.76 0.79 0.77 100
#TUD ONLY-----------------------------------------------------------------
chairs 266
institutes 32
faculties 17
aggs 29
precision recall f1-score support
AGGREGATOR 0.80 0.67 0.73 6
CHAIR 0.82 0.97 0.89 65
FACULTY 0.50 0.20 0.29 5
INSTITUTE 0.50 0.10 0.17 10
accuracy 0.80 86
macro avg 0.65 0.48 0.52 86
weighted avg 0.76 0.80 0.76 86
####################################################################################################
#PAGE CONTENT APPROACH -> (Dont extract heads, just take the page content)
#MUENSTER ONLY TRAFILATURA-----------------------------------------------------
chairs 375
institutes 136
faculties 15
aggs 60
precision recall f1-score support
AGGREGATOR 0.67 0.33 0.44 18
CHAIR 0.80 0.93 0.86 99
FACULTY 1.00 1.00 1.00 2
INSTITUTE 0.57 0.43 0.49 28
accuracy 0.76 147
macro avg 0.76 0.67 0.70 147
weighted avg 0.74 0.76 0.74 147
#UDE ONLY TRAFILATURA-----------------------------------------------------
chairs 309
institutes 46
faculties 12
aggs 30
precision recall f1-score support
AGGREGATOR 0.75 0.38 0.50 8
CHAIR 0.86 0.94 0.89 77
FACULTY 1.00 0.67 0.80 3
INSTITUTE 0.44 0.36 0.40 11
accuracy 0.82 99
macro avg 0.76 0.59 0.65 99
weighted avg 0.81 0.82 0.80 99
#TUD ONLY TRAFILATURA----------------------------------------------------
chairs 266
institutes 32
faculties 17
aggs 29
precision recall f1-score support
AGGREGATOR 0.33 0.09 0.14 11
CHAIR 0.78 0.95 0.86 61
FACULTY 0.50 0.33 0.40 6
INSTITUTE 0.00 0.00 0.00 7
accuracy 0.72 85
macro avg 0.40 0.34 0.35 85
weighted avg 0.64 0.72 0.66 85
The results has shown that the number of labels is unbalanced (CHAIR has the greatest number of labels - UNBALANCED)
Lets balance the labels and do the tests again.
---------------------------------------------------------------(BALANCED)-------------------------------------------------------
#MUE ONLY --------------------------------------------------------------
chairs 375
institutes 136
faculties 15
aggs 60
precision recall f1-score support
AGGREGATOR 0.91 0.97 0.94 99
CHAIR 0.96 0.84 0.90 94
FACULTY 1.00 1.00 1.00 90
INSTITUTE 0.90 0.96 0.93 92
accuracy 0.94 375
macro avg 0.94 0.94 0.94 375
weighted avg 0.94 0.94 0.94 375
#MUE ONLY TRAFILATURA----------------------------------------------------
chairs 375
institutes 136
faculties 15
aggs 60
precision recall f1-score support
AGGREGATOR 0.92 0.97 0.94 97
CHAIR 0.98 0.93 0.96 104
FACULTY 1.00 1.00 1.00 88
INSTITUTE 0.94 0.94 0.94 85
accuracy 0.96 374
macro avg 0.96 0.96 0.96 374
weighted avg 0.96 0.96 0.96 374
#UDE ONLY --------------------------------------------------------------
chairs 309
institutes 46
faculties 12
aggs 30
precision recall f1-score support
AGGREGATOR 0.95 0.94 0.95 84
CHAIR 1.00 0.94 0.97 69
FACULTY 1.00 1.00 1.00 87
INSTITUTE 0.92 0.99 0.95 69
accuracy 0.97 309
macro avg 0.97 0.97 0.97 309
weighted avg 0.97 0.97 0.97 309
UDE ONLY TRAFILATURA----------------------------------------------------
chairs 309
institutes 46
faculties 12
aggs 30
precision recall f1-score support
AGGREGATOR 0.91 1.00 0.95 87
CHAIR 1.00 0.99 0.99 84
FACULTY 1.00 1.00 1.00 69
INSTITUTE 0.98 0.87 0.92 69
accuracy 0.97 309
macro avg 0.97 0.96 0.97 309
weighted avg 0.97 0.97 0.97 309
#TUD ONLY----------------------------------------------------
chairs 266
institutes 32
faculties 17
aggs 29
precision recall f1-score support
AGGREGATOR 1.00 0.94 0.97 72
CHAIR 1.00 0.95 0.97 61
FACULTY 0.99 1.00 0.99 73
INSTITUTE 0.91 1.00 0.95 60
accuracy 0.97 266
macro avg 0.97 0.97 0.97 266
weighted avg 0.98 0.97 0.97 266
#TUD ONLY TRAFILATURA----------------------------------------------------
chairs 266
institutes 32
faculties 17
aggs 29
precision recall f1-score support
AGGREGATOR 1.00 0.87 0.93 67
CHAIR 0.97 1.00 0.99 70
FACULTY 1.00 1.00 1.00 65
INSTITUTE 0.89 1.00 0.94 59
accuracy 0.97 261
macro avg 0.97 0.97 0.96 261
weighted avg 0.97 0.97 0.97 261
---------------------------------------------------------------(END OF BALANCED)-------------------------------------------------------
We added OTHER category to represent the False Positives, so that not every page is considered as right prediction
--ADDED OTHER CATEGORY BALANCED--
precision recall f1-score support
AGGREGATOR 0.89 0.91 0.90 70
CHAIR 0.85 0.89 0.87 89
FACULTY 0.99 1.00 0.99 78
INSTITUTE 0.94 0.91 0.92 66
OTHER 0.85 0.80 0.82 84
accuracy 0.90 387
macro avg 0.90 0.90 0.90 387
weighted avg 0.90 0.90 0.90 387
ML APPROACH.
What if we use the model to predict the aggregators and concepts for us?
We replaced the initial heuristic approach with the model trained on headings of aggregators pages and concepts (and others later on)
Results below:
Replacing with predictions:
Replacing Aggs search with predictions->results in 0 aggs -> 0 concepts //(because of wrong matching the iterative loop cant discover further agg links)
Replacing Concepts ONLY with predictions -> results below
Replacing with predictions:
----------PREDICTING----------
Evaluating ConceptType.FACULTY
Predictions 1 Truth 12
TP 1 FP 0 FN 11
P 1.0 R 0.08333333333333333 F1 0.15384615384615385
Evaluating ConceptType.INSTITUTE
Predictions 0 Truth 45
TP 0 FP 0 FN 45
P 0 R 0.0 F1 0
Evaluating ConceptType.CHAIR
Predictions 29 Truth 423
FP Kontakt https://www.msm.uni-due.de/lehrstuehle/
FP News https://www.msm.uni-due.de/news/
FP Forschung https://www.msm.uni-due.de/forschung/
FP Data Analytics https://www.da.msm.uni-due.de/startseite/
FP Studium https://www.msm.uni-due.de/studium/
FP Prüfungen https://www.css.msm.uni-due.de/pruefungsorganisation/
FP Beratung https://www.css.msm.uni-due.de/studienberatung/
FP Impressum https://www.msm.uni-due.de/impressum/
TP 21 FP 8 FN 402
P 0.7241379310344828 R 0.04964539007092199 F1 0.09292035398230089
-------------------------------------------------------------------------------
Hmm, the replacement didnt work out.
What if we DONT REPLACE, but EXPAND our initial aggs search and concepts classification with model predictions?
Validating with predictions:
Validate Aggs and concepts? ->
Evaluating ConceptType.FACULTY
Predictions 1 Truth 12
TP 1 FP 0 FN 11
P 1.0 R 0.08333333333333333 F1 0.15384615384615385
Evaluating ConceptType.INSTITUTE
Predictions 0 Truth 45
TP 0 FP 0 FN 45
P 0 R 0.0 F1 0
Evaluating ConceptType.CHAIR
Predictions 9 Truth 423
TP 0 FP 9 FN 423
P 0.0 R 0.0 F1 0
Not satisfying results, predictions make the searching for aggregators and concepts stricter.
-----------------------------------
Validate concepts only? ->Allow searching for aggregators in the initial way, but try to predict at least concepts by the page contents->results below
(PGDClassifier)
Replacing with additional validation.
----------VALIDATING----------
Evaluating ConceptType.FACULTY
Predictions 1 Truth 12
TP 1 FP 0 FN 11
P 1.0 R 0.08333333333333333 F1 0.15384615384615385
Evaluating ConceptType.INSTITUTE
Predictions 0 Truth 45
TP 0 FP 0 FN 45
P 0 R 0.0 F1 0
Evaluating ConceptType.CHAIR
Predictions 23 Truth 423
FP Data Analytics https://www.da.msm.uni-due.de/startseite/
FP Impressum https://www.msm.uni-due.de/impressum/
TP 21 FP 2 FN 402
P 0.9130434782608695 R 0.04964539007092199 F1 0.09417040358744395
Less FPs compared to Non-others tests
13->8
3->2
#--------------------------------------------------CMS STATISTICS-----------------------------------------
UDE stats:
Faculties
IMPERIA 9.2.14: 83.33%
TYPO3 CMS: 16.67%
Institutes
IMPERIA 9.2.14: 90.59%
TYPO3 CMS: 9.41%
Chairs
IMPERIA 9.2.14: 79.59%
TYPO3 CMS: 19.05%
Hugo 0.159.2: 0.51%
WordPress 6.8.3: 0.34%
WordPress 6.9.4: 0.34%
Drupal 7 (http://drupal.org): 0.17%
Münster stats:
Faculties
IMPERIA 11.7.0: 50.00%
IMPERIA 11.5.4: 30.00%
TYPO3 CMS: 13.33%
Mura CMS 6.2: 3.33%
IMPERIA 11.4.3: 3.33%
Institutes
TYPO3 CMS: 42.03%
IMPERIA 11.7.0: 28.26%
IMPERIA 11.5.4: 25.72%
Mura CMS 6.2: 1.45%
IMPERIA 11.4.3: 1.45%
IMPERIA 11.5.3: 1.09%
Chairs
IMPERIA 11.5.4: 47.91%
IMPERIA 11.7.0: 38.08%
Mura CMS 6.2: 6.90%
TYPO3 CMS: 2.72%
IMPERIA 11.4.3: 1.26%
IMPERIA 11.5.3: 0.84%
WordPress 6.9.4: 0.42%
WPML ver:4.6.7 stt:1,3;: 0.42%
WordPress 6.7.5: 0.21%
qTranslate-XT 3.12.0: 0.21%
IMPERIA 11.5.1: 0.21%
IMPERIA 8.6.35: 0.21%
WordPress 6.8.3: 0.21%
WordPress.com: 0.21%
Drupal 9 (https://www.drupal.org): 0.21%
TUD stats:
Faculties
TYPO3 CMS: 100.00%
Institutes
TYPO3 CMS: 100.00%
Chairs
TYPO3 CMS: 99.75%
Infopark CMS Fiona; 7.0.1; 53616c7465645f5fb14a315e7e8b33048d3c428086aedb09: 0.25%
#--------------------------------------------------END OF CMS STATISTICS-----------------------------------------
--------------------------------------------------------------------DATE - > 03.10.2024----------------------------------------------------------------------
-----------------------------------------------------------------------------FURTHER CHANGES---------------------------------------------------------------------------
little adjustement added -> fixes the bug where an url ends with multiple '//' and it ends in an infinite loop
*some persistent concepts adjusted.
* added new concepts for KOELN, AACHEN, BONN, BIELEFELD, DORTMUND, HHU DUESSELDORF, PADERBORN, RUB Bochum, WUPPERTAL, SIEGEN
Now we do have more uni-prediction.jsons, but what about validating?
-----------------------------------------
FOR: uni_prediction-test-ude.json
-----------------------------------------
faculties 12
institutes 47
chairs 614
-----------------------------------------
FOR: uni_prediction-test-muenster.json
-----------------------------------------
faculties 44
institutes 196
chairs 275
-----------------------------------------
FOR: uni_prediction-test-koeln.json
-----------------------------------------
faculties 6
institutes 11
chairs 55
-----------------------------------------
FOR: uni_prediction-test-aachen.json
-----------------------------------------
faculties 0
institutes 0
chairs 0
-----------------------------------------
FOR: uni_prediction-test-hhu.json
-----------------------------------------
faculties 1
institutes 15
chairs 22
-----------------------------------------
FOR: uni_prediction-test-paderborn.json
-----------------------------------------
faculties 0
institutes 0
chairs 0
-----------------------------------------
FOR: uni_prediction-test-bielefeld.json
-----------------------------------------
faculties 0
institutes 0
chairs 0
-----------------------------------------
FOR: uni_prediction-test-rub.json (endless prediction read why?)
-----------------------------------------
faculties 0
institutes 0
chairs 0
-----------------------------------------
FOR: uni_prediction-test-siegen.json
-----------------------------------------
faculties 0
institutes 0
chairs 0
-----------------------------------------
FOR: uni_prediction-test-bonn.json
-----------------------------------------
faculties 0
institutes 0
chairs 0
-----------------------------------------
FOR: uni_prediction-test-wuppertal.json
-----------------------------------------
faculties 7
institutes 34
chairs 404
-----------------------------------------
FOR: uni_prediction-test-dortmund.json
-----------------------------------------
faculties 29
institutes 8
chairs 260
-----------------------------------------
-----------------------------------------------------------------------------DATE - > 14.10.2024---------------------------------------------------------------------------
Tests for UDE,TUD, MUE after adding pagedepth(number of urls the algorithm needed to go through to get to the goal page), removing footer from pages, geometry fixes.
Faculties deduplication in evaluation2.
UDE
---
F1-Score (WITH domain FILTER) -> faculties:1.0, institutes:0.6904(> was 0.64), chairs:0.6052(< was 0.69)
**Evaluating ConceptType.FACULTY
Predictions 12 Truth 12
TP 12 FP 0 FN 0
P 1.0 R 1.0 F1 1.0
**Evaluating ConceptType.INSTITUTE
Predictions 40 Truth 45
TP 29 FP 10 FN 16
P 0.7435897435897436 R 0.6444444444444445 F1 0.6904761904761906
**Evaluating ConceptType.CHAIR
Predictions 381 Truth 423
TP 243 FP 137 FN 180
P 0.6394736842105263 R 0.574468085106383 F1 0.6052303860523038
---
TUD
---
F1-Score (WITH domain FILTER) -> faculties:0.7391, institutes:0.2564(> was 0.16), chairs:0.2717(< was 0.29) -> low scores
**Evaluating ConceptType.FACULTY
Predictions 29 Truth 17
TP 17 FP 12 FN 0
P 0.5862068965517241 R 1.0 F1 0.7391304347826086
**Evaluating ConceptType.INSTITUTE
Predictions 8 Truth 31
TP 5 FP 3 FN 26
P 0.625 R 0.16129032258064516 F1 0.2564102564102564
**Evaluating ConceptType.CHAIR
Predictions 210 Truth 261
TP 64 FP 146 FN 197
P 0.3047619047619048 R 0.24521072796934865 F1 0.27176220806794055
---
MUE
---
F1-Score (WITH domain FILTER) -> faculties:0.8333(>> was 0.47), institutes:0.7320(> was 0.69), chairs:0.4479(< was 0.48)
**Evaluating ConceptType.FACULTY
Predictions 21 Truth 15
TP 15 FP 6 FN 0
P 0.7142857142857143 R 1.0 F1 0.8333333333333333
**Evaluating ConceptType.INSTITUTE
Predictions 131 Truth 135
TP 97 FP 33 FN 38
P 0.7461538461538462 R 0.7185185185185186 F1 0.7320754716981133
**Evaluating ConceptType.CHAIR
Predictions 205 Truth 429
TP 142 FP 63 FN 287
P 0.6926829268292682 R 0.331002331002331 F1 0.44794952681388017
---
Predictions test for other unis:
-----------------------------------------
FOR: uni_prediction-test-ude.json
-----------------------------------------
faculties 12
institutes 69
chairs 537
-----------------------------------------
FOR: uni_prediction-test-mue.json
-----------------------------------------
faculties 21
institutes 141
chairs 214
-----------------------------------------
FOR: uni_prediction-test-koeln2.json
-----------------------------------------
faculties 6
institutes 11
chairs 53
-----------------------------------------
FOR: uni_prediction-test-aachen.json
-----------------------------------------
faculties 0
institutes 0
chairs 0
-----------------------------------------
FOR: uni_prediction-test-hhu.json
-----------------------------------------
faculties 0
institutes 0
chairs 0
-----------------------------------------
FOR: uni_prediction-test-paderborn.json (endless prediction read)
-----------------------------------------
faculties 0
institutes 0
chairs 0
-----------------------------------------
FOR: uni_prediction-test-bielefeld.json
-----------------------------------------
faculties 0
institutes 0
chairs 0
-----------------------------------------
FOR: uni_prediction-test-rub.json
-----------------------------------------
faculties 0
institutes 0
chairs 0
-----------------------------------------
FOR: uni_prediction-test-bonn.json (+)
-----------------------------------------
faculties 6
institutes 11
chairs 53
-----------------------------------------
FOR: uni_prediction-test-siegen.json
-----------------------------------------
faculties 0
institutes 0
chairs 0
-----------------------------------------
FOR: uni_prediction-test-wuppertal.json
-----------------------------------------
faculties 7
institutes 30
chairs 404
-----------------------------------------
FOR: uni_prediction-test-tud.json
-----------------------------------------
faculties 29
institutes 8
chairs 222
-----------------------------------------
------------------------------------------------------------------------------NEXT COMMIT - > 08.11.2024---------------------------------------------------------------------------
MOTIVATION: if we cant find faculties for a uni, we probably wont find chairs and institutes either -> improve faculties search.
-> WIDTHS_SEARCH: if no aggregator pages are found, try to find some with depth search
Start URL
└── Depth 1: crawl page → find aggregator candidates
└── Depth 2: crawl linked pages → find more candidates
└── Depth 3: crawl further → find more candidates
UDE:
Evaluating ConceptType.FACULTY
Predictions 12 Truth 12
TP 12 FP 0 FN 0
P 1.0 R 1.0 F1 1.0
Evaluating ConceptType.INSTITUTE
Predictions 46 Truth 45
TP 28 FP 18 FN 17
P 0.6086956521739131 R 0.6222222222222222 F1 0.6153846153846154
Evaluating ConceptType.CHAIR
Predictions 399 Truth 423
TP 221 FP 167 FN 202
P 0.5695876288659794 R 0.5224586288416075 F1 0.5450061652281134
MUE:
Evaluating ConceptType.FACULTY
Predictions 21 Truth 15
TP 15 FP 6 FN 0
P 0.7142857142857143 R 1.0 F1 0.8333333333333333
Evaluating ConceptType.INSTITUTE
Predictions 141 Truth 135
TP 96 FP 44 FN 39
P 0.6857142857142857 R 0.7111111111111111 F1 0.6981818181818182
Evaluating ConceptType.CHAIR
Predictions 316 Truth 427
TP 169 FP 147 FN 258
P 0.5348101265822784 R 0.3957845433255269 F1 0.4549125168236877
TUD:
Evaluating ConceptType.FACULTY
Predictions 17 Truth 17
TP 16 FP 1 FN 1
P 0.9411764705882353 R 0.9411764705882353 F1 0.9411764705882353
Evaluating ConceptType.INSTITUTE
Predictions 8 Truth 31
TP 3 FP 5 FN 28
P 0.375 R 0.0967741935483871 F1 0.15384615384615383
Evaluating ConceptType.CHAIR
Predictions 316 Truth 266
TP 69 FP 249 FN 197
P 0.2169811320754717 R 0.2593984962406015 F1 0.2363013698630137
OTHER UNIS:
---
uni_prediction-test-ude2.json
faculties 12
institutes 46
chairs 387
---
uni_prediction-test-mue2.json
faculties 21
institutes 151
chairs 318
---
uni_prediction-test-koeln.json
faculties 1
institutes 10
chairs 0
---
uni_prediction-test-aachen.json
faculties 17
institutes 0
chairs 0
---
uni_prediction-test-hhu.json
faculties 6
institutes 4
chairs 51
---
uni_prediction-test-paderborn.json -> endless predictions read.
faculties 0
institutes 0
chairs 0
---
uni_prediction-test-siegen.json -> endless predictions read.
faculties 0
institutes 0
chairs 0
---
uni_prediction-test-bielefeld.json
faculties 59
institutes 0
chairs 0
---
uni_prediction-test-wuppertal2.json
faculties 19
institutes 31
chairs 659
--------------------------------------DISTILBERT AND FLAN--------------------------------------
WIDTHS_SEARCH -> DISTILBERT & FLAN for FACulties
MOTIVATION: Similar to ML-Approach -> take URL + page depth + headings + body text of faculty web pages and OTHER web pages and train a distilbert on it. Then try to predict.
Trained and tested on wep pages (UDE +Münster + Additional faculty URLs from TUD, Bielefeld, Paderborn, RUB, HHU Düsseldorf, Cologne, RWTH Aachen, Bonn, Siegen, Wuppertal)
<-------------------DISTILBERT 636/160 (80/20) TEST FOR 500 UNI PAGES------------------------->
number of faculties: 298
number of others: 498
number of db entries: 500
So we take 298 FACULTY entries and ~500 OTHERS and make a dataset of it.
->
all: 160
true_pos: 27
true_neg: 96
false_pos: 4
false_neg: 33
precision: 0.8709677419354839
recall: 0.45
-->f1_score: 0.5934065934065934
<--------------------DISTILBERT 1034/260 (80/20)TEST FOR 1000 UNI PAGES------------------------>
number of faculties: 298
number of others: 996
number of db entries: 1000
So we take 298 FACULTY entries and ~1000 OTHERS and make a dataset of it.
->
all: 260
true_pos: 19
true_neg: 200
false_pos: 0
false_neg: 41
precision: 1.0
recall: 0.31666666666666665
-->f1_score: 0.4810126582278481
<-------------FLAN_t5_BASE 437/110 (80/20)TEST FOR 500 UNI PAGES-------------------------->
----------------------------------------------FLAN-T5-----------------------------------------
Why so bad? Not much faculties as true positives given. Reason? Additional wasn't added like in DiSTILBERT.
(ADDED FACS)
-------------------------------------------T5 500 636/160-----------------
number of faculties: 298
number of others: 498
number of db entries: 500
So we take 298 FACULTY entries and ~500 OTHERS and make a dataset of it.
all: 160
true_pos: 54
true_neg: 63
false_pos: 35
false_neg: 7
precision: 0.6067415729655347
recall: 0.885245901494222
-->f1_score: 0.7199999950782222
-------------------------------------------T5 1000 1034/260 ---------------
number of faculties: 298
number of others: 996
number of db entries: 1000
So we take 298 FACULTY entries and ~1000 OTHERS and make a dataset of it.
all: 260
true_pos: 59
true_neg: 111
false_pos: 83
false_neg: 6
precision: 0.4154929577172188
recall: 0.9076923075526628
-->F1_score: 0.5700483048155149
(ADDED FACS)
------------------------------------------------------------------------------------------------
-----------------------------------------------------------------NEXT ----------------------------------------------------------------------------
Moving on to llms: previous approaches didnt lead us to satisfying results.
MOTIVATION: What if we let LLM decide whether a web page is a faculty, institute, chair main page or not based on its content?
Using LLama feed the page text to llm and let it predict the concept of the page.
Prompt for faculties:
System prompt="""
"You are a classification assistant. You will be given attributes\n",
" of university webpages as key value pairs. These attributes include: 'url' (url of a web page), \n",
" 'pagedepth' (distance of a webpage from the main university homepage, a lower page depth indicates a higher probability of a faculty landing page, while a higher page depth indicates a lower probability),\n",
" 'found_link_text_flag' (whether there exists a text in previous webpages that also pointed to the current webpage and also exists on the currently considering webpage),\n",
" 'headings' (the headings of the webpage, this attribute is important),\n",
" 'text': the extracted content of a webpage,\n",
" 'label': whether it is a faculty landing webpage or not.\n",
" You will use these attributes to determine, whether a webpage attributes is 0 (no faculty main landing page) or 1 (is a faculty main landing page).\n",
" \n",
" You will answer only with Positive or Negative\"\"\"\n"
"""
User prompt="""
Classify the following webpages as faculty landing page (positive) or no faculty landing page (negative):\\n\\n\"\n",
" \"Here are some Examples:\\n\"\n",
" f\"1. url : '{url_faculty[0]}', pagedepth: '{pagedepth_faculty[0]}', found_link_text_flag: '{found_link_text_flag_faculty[0]}', headings: '{headings_faculty[0]}', text: '{text_faculty_single}' -> Positive (label: 1)\\n\"\n",
" f\"2. url : '{url_others[0]}', pagedepth: '{pagedepth_others[0]}', found_link_text_flag: '{found_link_text_flag_others[0]}', headings: '{headings_others[0]}', text: '{text_others_single}' -> Negative (label: 0)\\n\"\n",
" f\"3. url : '{example_institute_url}', pagedepth: '{example_institute_pagedepth}', found_link_text_flag: '{example_institute_found_link_text_flag}', headings: '{example_institute_headings}', text: '{example_institute_text_content_single}' -> Negative (label: 0)\\n\\n\"\n",
" f\"Now classify this message:\\n{text_single}\\n\"\n"
"""
Prompt for institutes/chairs:
User prompt="""
prompt = (\n",
" \"Classify the following webpages as institute landing page (positive) or chair landing page (positive) or no institute and chair landing page (negative):\\n\\n\"\n",
" \"Here are some Examples:\\n\"\n",
" f\"1. url : '{url_institutes[0]}', pagedepth: '{pagedepth_institutes[0]}', found_link_text_flag: '{found_link_text_flag_institutes[0]}', headings: '{headings_institutes[0]}', text: '{text_institutes_single[0]}' -> Positive (label: 1)\\n\"\n",
" f\"1. url : '{url_chairs[0]}', pagedepth: '{pagedepth_chairs[0]}', found_link_text_flag: '{found_link_text_flag_chairs[0]}', headings: '{headings_chairs[0]}', text: '{text_chairs_single[0]}' -> Positive (label: 1)\\n\"\n",
" f\"2. url : '{url_others[0]}', pagedepth: '{pagedepth_others[0]}', found_link_text_flag: '{found_link_text_flag_others[0]}', headings: '{headings_others[0]}', text: '{text_others_single}' -> Negative (label: 0)\\n\\n\"\n",
" f\"Now classify this message:\\n{text_single}\\n\"\n",
"""
System prompt="""
You are a classification assistant. You will be given attributes\n",
" of university webpages as key value pairs. These attributes include: 'url' (url of a web page), \n",
" 'pagedepth' (distance of a webpage from the main university homepage),\n",
" 'found_link_text_flag' (whether there exists a text in previous webpages that also pointed to the current webpage and also exists on the currently considering webpage),\n",
" 'headings' (the headings of the webpage, this attribute is important),\n",
" 'text': the extracted content of a webpage,\n",
" 'label': whether it is a institute or chair landing webpage or not.\n",
" You will use these attributes to determine, whether a webpage attributes is 0 (no institute or chair main landing page) or 1 (is a institute or chair main landing page)\n",
" You will answer only with Positive or Negative\"\"\"\n",
"""
RESULTS BELOW:
<-----------------------------------------------------------------UDE------------------------------------------------------------------------------>
<-----------------------OLD RESULTS (TAKE THIS) (come from the results file created 2 years ago------------------------>
+-----------------------------------------------+-----------+------------+---------+
| Run | Faculty F1| Institute F1 | Chair F1|
+-----------------------------------------------+-----------+------------+---------+
| ude_nothing | 0.9565 | 0.6429 | 0.4041 |
| ude_only_geometry | 1.0000 | 0.6818 | 0.6014 |
| ude_only_disambiguate | 0.9565 | 0.6429 | 0.4068 |
| ude_only_direct | 0.9565 | 0.6429 | 0.4525 |
| ude_only_indirect | 0.9565 | 0.6429 | 0.4014 |
| ude_only_meta | 0.9565 | 0.6429 | 0.5193 |
| ude_only_dynamic | 0.9565 | 0.6429 | 0.4188 |
| ude_only_widths_search | 0.9565 | 0.6265 | 0.4041 |
| ude_only_using_llm | 1.0000 | 0.7593 | 0.6289 |<-- best results overall
| ude_all | 1.0000 | 0.7207 | 0.2644 |
| ude_all_no_width | 0.9231 | 0.7069 | 0.2355 |
+-----------------------------------------------+-----------+------------+---------+
------------------------------------------------------------------------------------MUENSTER-------------------------------------------------------------------
<-----------------------OLD RESULTS (TAKE THIS) (come from the results file created 2 years ago------------------------>
+------------------------+----------+------------+--------+
| Run | FACULTY F1 | INSTITUTE F1 | CHAIR F1 |
+------------------------+----------+------------+--------+
| nothing | 0.966 | 0.484 | 0.423 |
| only_geometry | 1.000 | 0.483 | 0.445 |<-- best for faculties
| only_disambiguate | 0.966 | 0.486 | 0.423 |
| only_direct | 0.966 | 0.484 | 0.423 |
| only_indirect | 0.966 | 0.477 | 0.414 |
| only_meta | 0.800 | 0.484 | 0.421 |
| only_dynamic | 0.966 | 0.484 | 0.450 |<-- best chairs
| only_widths_search | 0.966 | 0.484 | 0.423 |
| only_using_llm | 0.909 | 0.509 | 0.404 |
| all | 0.857 | 0.571 | 0.418 |<-- best for Institutes
| all_no_width | 0.882 | 0.317 | - |
+------------------------+----------+------------+--------+
------------------------------------------------------------------------------------DORTMUND-------------------------------------------------------------------
<-----------------------NEW RESULTS------------------------>
|Run | Faculty F1 | Institute F1 | Chair F1 |
|--------------------------------------+------------+--------------+-------|---
|nothing | 0.0000 | 0.1714 | 0.0821|
|only_geometry | 0.0000 | 0.1714 | 0.1190|
|only_disambiguate | 0.0000 | 0.1714 | 0.0821|
|only_direct | 0.0000 | 0.1579 | 0.0821|
|only_indirect | 0.9412 | 0.1579 | 0.1636|
|only_meta | 0.0000 | 0.1714 | 0.1020|
|only_dynamic | 0.0000 | 0.1538 | 0.1604|
|only_widths_search | 0.0000 | 0.1714 | 0.0821|
|only_using_llm | 0.0000 | 0.1714 | 0.0821|
|all | 0.9412 | 0.0000 | 0.0000|
|all_no_width | 0.9412 | 0.0000 | 0|.0000
The LLM-only approach doest scale well. It shows acceptable results for UDE, but fails for MUENSTER and DORTMUND
+566
View File
@@ -0,0 +1,566 @@
---------------------------------DEV_THEO_2 06.01.2025-------------------------------
Added dataset llm. For testing llms approach.
How?
1.Faculty urls from UDE, MUENSTER DORTMUND and other unis taken + institutes from UDE and MUE + chairs from UDE und MUE + OTHER URLS from Database
2.Extracted content from pages + headings + kind + label + pagedepth ...
3. Saved to llm_dataset.json
FURTHER LLM CLASSIFICATION RESULTS (FOR LLM_DATASET):
Purpose: again, use the main algorithm options(disambiguate, direct, indirect, meta, dynamic) and prediction of LLM.
Input: again, take page depth, headings and text of each page.
Output: evaluation results
<-------------------------------------LLAMA----------------------------------->
--------------------->FACULTIES:
Evaluation of LLaMa3
Faculties
all: 2997
wrong_labeled_format: 38
true_pos: 229
true_neg: 2393
false_pos: 327
false_neg: 10
precision: 0.4118705035971223
recall: 0.9581589958158996
f1_score: 0.5761006289308177
wrong_of_all: 1.2679346012679344
--------------------->INSTITUTES AND CHAIRS:
Evaluation of LLaMa3
Institutes and chairs
all: 2997
wrong_labeled_format: 43
true_pos: 756
true_neg: 1523
false_pos: 559
false_neg: 116
precision: 0.5749049429657794
recall: 0.8669724770642202
f1_score: 0.691358024691358
wrong_of_all: 1.434768101434768
#TODO how much INST and chairs? Not possible. The script should be executed again
<-------------------------------------GPT-4o-mini----------------------------------->
Evaluation of OPENAI
--------------------->FACULTIES:
all: 2995
wrong_labeled_format: 1
true_pos: 150
true_neg: 2694
false_pos: 61
false_neg: 89
precision: 0.7109004739336493
recall: 0.6276150627615062
f1_score: 0.6666666666666666
wrong_of_all: 0.0333889816360601
--------------------->INSTITUTES AND CHAIRS:
Evaluation of OPENAI
Institutes and chairs
all: 2994
wrong_labeled_format: 1
true_pos: 203
true_neg: 2018
false_pos: 93
false_neg: 679
precision: 0.6858108108108109
recall: 0.23015873015873015
f1_score: 0.34465195246179964
wrong_of_all: 0.033400133600534405
---------------------------------------Flan T5 for classifying pages added---------------------------
Purpose: again, use the main algorithm options(disambiguate, direct, indirect, meta, dynamic) and prediction of LLM.
Input: again, take page depth, headings and text of each page.
Output classification results:
RESULTS:
UDE
Evaluating ConceptType.FACULTY
Predictions 10 Truth 12
TP 8 FP 2 FN 4
P 0.8 R 0.6666666666666666 F1 0.7272727272727272
Evaluating ConceptType.INSTITUTE
Predictions 14 Truth 45
TP 11 FP 3 FN 34
P 0.7857142857142857 R 0.24444444444444444 F1 0.3728813559322034
Evaluating ConceptType.CHAIR
Predictions 267 Truth 423
TP 209 FP 40 FN 214
P 0.8393574297188755 R 0.4940898345153664 F1 0.6220238095238095
MUENSTER:
Evaluating ConceptType.FACULTY
Predictions 44 Truth 15
TP 12 FP 26 FN 3
P 0.3157894736842105 R 0.8 F1 0.45283018867924535
Evaluating ConceptType.INSTITUTE
Predictions 151 Truth 135
TP 94 FP 47 FN 41
P 0.6666666666666666 R 0.6962962962962963 F1 0.6811594202898551
Evaluating ConceptType.CHAIR
Predictions 384 Truth 428
TP 233 FP 146 FN 195
P 0.6147757255936676 R 0.544392523364486 F1 0.5774473358116482
--------------------------------->ANALYSIS.<---------------------------------------
Idea: use newly released REASONING for classifying university pages. Extract features from LLM explanation, count sentiment scores.
Pipeline -> create dataset from baseline -> classify content (is the content of the page is a landing page(homepage) of a institute, research center, center, research group, department or chair'?) REASONING with certainty scores-
-> extract features from the REASONING output
1) Dataset created from baseline (each page has url, page depth, text, wrappet(true/false)
2)Classify content: questions asked to LLAMA:
search_type = 'faculty' for FACULTIES
search_type = 'institute, research center, center, research group, department or chair' FOR INSTITUES/ CHAIRS
page_type = 'welcome page of the homepage'
question1 = f'Yes or no, is the following page the {page_type} of a {search_type} at an institute or university?\n\nPage:\n' + text
-> expected answer: yes/no
question2 = f'On a scale from 1 to 10 where 1 means low and 10 means high, how certain are you that the following page is OUTCOME the {page_type} of a {search_type} at an institute or university? Only return the number and do not provide an explanation.\n\Page:\n' + answer1 + text
-> expected answer: float value
question3 = f'Please explain why the following page is OUTCOME the {page_type} of a {search_type} at an institute or university.\n\nPage:\n' + answer1 + text
-> expected answer: explanation in text
question4 = 'Yes or no, is the following argumentation convincing?\n\nQuestion:\n' + question3 + '\n\nExplanation:\n' + answer3
-> expected answer: yes/no
3) Classify URL: questions asked to LLAMA
question1 = f"Yes or no, does this {url} look like it is pointing to a welcome page of a research group, department or chair?"
-> expected answer: yes/no
4)Extracting features
# With regular expression apture content in the form of "n. **Title**: Description"
2254 total, most frequent below:
{'contact information': 102,
'welcome message': 75,
'news and events': 72,
'institutional branding': 64,
'overview of the faculty': 46,
'navigation menu': 39,
'navigation structure': 39,
'layout and design': 35,
'language options': 24,
'title and greeting': 23,
'navigation and structure': 23,
'institutional affiliation': 23,
'introduction to the faculty': 23,
'institutional information': 22,
'news and updates': 21,
'navigation and links': 17,
'content': 17,
'navigation': 15,
'contact information and footer': 14,
'title and header': 14,
'news and announcements': 14,
'university affiliation': 14,
'university branding': 11,
'departmental information': 10,
'faculty-specific content': 10,
'social media links': 9,
'layout and structure': 9,
'departmental structure': 9,
'language': 8,
'content focus': 8,
'study programs': 7,
'target audience': 7,
'contact information and social media links': 7,
'overview of faculty activities': 7,
'links to sub-pages': 7,
'faculty name': 7,
'footer': 6,
'title and introduction': 6,
'contact information and links': 6,
'faculty-specific information': 6,
'call to action': 6,
'contact information and location': 6,
'department name': 6,
'lack of introductory content': 6,
'overview of the department': 5,
'institutional context': 5,
'content structure': 5,
'links to related pages': 5,
'research focus': 5,
'institutional introduction': 5,
'news section': 5,
'scope': 5,
'copyright information': 5,
}
Then, take some subset of features:
'lack of introductory content',
'navigation menu',
'contact information',
'university affiliation',
'research focus',
'institutional affiliation',
'news and updates',
'welcome message',
'navigation',
'group name',
'footer content',
'specific topic focus'
]
And classify with SUPPORT VECTOR MACHINE the pages based on its features-> if feature is persistent is "rationale" take it as "1", otherwise "0"
0.75/0.25
Classification Report:
precision recall f1-score support
0 0.89 0.60 0.72 55
1 0.71 0.93 0.80 57
accuracy 0.77 112
macro avg 0.80 0.76 0.76 112
weighted avg 0.80 0.77 0.76 112
Accuracy Score: 0.7678571428571429
---------------------------------
NEXT -> consider SENTIMENT Score as additional feature.
Then, for each **Headline** we count sentiment score. And append it to dataset "sentiment_institutes_chairs.json"
AND for each ** Headline** we count sentiment score ONLY for its first sentence and append to dataset -> "sentiment_institutes_chairs_only_first_sentences.json"
FACULTIES ANALYSIS:
-->
all: 2999
true_pos: 149
true_neg: 2215
false_pos: 543
false_neg: 92
precision: 0.2153179190751445
recall: 0.6182572614107884
f1_score: 0.3193997856377277
----------------------------
OPENAI_ANALYSIS_INSTITUTES_CHAIRS
-->
all: 11001
true_pos: 205
true_neg: 9466
false_pos: 448
false_neg: 882
precision: 0.31393568147013784
recall: 0.18859245630174792
f1_score: 0.23563218390804597
----------------------------
LLAMA_ANALYSIS_INSTITUTES_CHAIRS
-->
all: 11001
true_pos: 744
true_neg: 6395
false_pos: 3519
false_neg: 343
precision: 0.17452498240675582
recall: 0.6844526218951242
f1_score: 0.27813084112149533
----------------------------
LLAMA_ANALYSIS_INSTITUTES_CHAIRS_TRAFILATURA_CONTENT
all: 9168
true_pos: 618
true_neg: 6419
false_pos: 1778
false_neg: 353
precision: 0.2579298831385643
recall: 0.6364572605561277
f1_score: 0.36709236709236714
----------------------------
WUPPERTAL INSTITUTES_CHAIRS ONLY:
all: 1820
true_pos: 74
true_neg: 1358
false_pos: 349
false_neg: 39
precision: 0.17494089834515367
recall: 0.6548672566371682
f1_score: 0.27611940298507465
---------------------------------------Moving on to AGGREGATION ALGORITHM---------------------------
Purpose:How good can we find aggregators? Evaluate! The original algorithm taken options(meta, direct, indirect, disambiguate, dynamic) NO LLM!
Input: Single main page url for each university
UDE:
----->Evaluate ude_truth.json and uni_aggregator_prediction_test_ude.json
All: 216
True Positive: 110
False Positive: 83
False Negative: 23
Precision: 0.5699481865284974
Recall: 0.8270676691729323
F1-Score: 0.6748466257668712
----->MUENSTER:
Evaluate muenster_truth.json and uni_aggregator_prediction_test_muenster.json
All: 249
True Positive: 98
False Positive: 118
False Negative: 33
Precision: 0.4537037037037037
Recall: 0.7480916030534351
F1-Score: 0.5648414985590777
----->DORTMUND
Evaluate dortmund_truth.json and uni_aggregator_prediction_test_dortmund.json
All: 158
True Positive: 105
False Positive: 35
False Negative: 18
Precision: 0.75
Recall: 0.8536585365853658
F1-Score: 0.7984790874524715
WUPPERTAL COULDT LOAD PREDICTION JSON.
------------------------------------------------->OLD RESULTS SHOWN IN PAPER<----------------------------------
SPLITTED AGGREGATOR RESULTS:
Baseline:
UDE:
Precision: 0.7294117647058823
Recall: 0.8266666666666667
F1-Score: 0.7749999999999999
Münster:
Precision: 0.8974358974358975
Recall: 0.8284023668639053
F1-Score: 0.8615384615384615
Dortmund:
Precision: 0.8157894736842105
Recall: 0.7654320987654321
F1-Score: 0.7898089171974522
Wuppertal:
Precision: 0.7808219178082192
Recall: 0.8636363636363636
F1-Score: 0.8201438848920863
Only disambiguate:
UDE:
Precision: 0.7294117647058823
Recall: 0.8266666666666667
F1-Score: 0.7749999999999999
Münster:
Precision: 0.9032258064516129
Recall: 0.8284023668639053
F1-Score: 0.8641975308641976
Dortmund:
Precision: 0.8157894736842105
Recall: 0.7654320987654321
F1-Score: 0.7898089171974522
Wuppertal:
Precision: 0.7808219178082192
Recall: 0.8636363636363636
F1-Score: 0.8201438848920863
Only direct:
UDE:
Precision: 0.7362637362637363
Recall: 0.8481012658227848
F1-Score: 0.788235294117647
Münster:
Precision: 0.9058823529411765
Recall: 0.875
F1-Score: 0.8901734104046243
Dortmund:
Precision: 0.8157894736842105
Recall: 0.7654320987654321
F1-Score: 0.7898089171974522
Wuppertal:
Precision: 0.7662337662337663
Recall: 0.8939393939393939
F1-Score: 0.8251748251748252
Only indirect:
UDE:
Precision: 0.7294117647058823
Recall: 0.8266666666666667
F1-Score: 0.7749999999999999
Münster:
Precision: 0.8974358974358975
Recall: 0.8284023668639053
F1-Score: 0.8615384615384615
Dortmund:
Precision: 0.8157894736842105
Recall: 0.7654320987654321
F1-Score: 0.7898089171974522
Wuppertal:
Precision: 0.7808219178082192
Recall: 0.8636363636363636
F1-Score: 0.8201438848920863
Only meta:
UDE:
Precision: 0.8421052631578947
Recall: 0.9248554913294798
F1-Score: 0.8815426997245179
Münster:
Precision: 0.8711340206185567
Recall: 0.8578680203045685
F1-Score: 0.8644501278772379
Dortmund:
Precision: 0.75
Recall: 0.8536585365853658
F1-Score: 0.7984790874524715
Wuppertal:
Precision: 0.7697841726618705
Recall: 0.9224137931034483
F1-Score: 0.8392156862745098
Full:
UDE:
"Evaluate ude_truth.json and uni_aggregator_prediction_test_ude.json\n",
"All: 205\n",
"True Positive: 162\n",
"False Positive: 31\n",
"False Negative: 12\n",
"Precision: 0.8393782383419689\n",
"Recall: 0.9310344827586207\n",
"F1-Score: 0.8828337874659401\n",
MUENSTER:
"Evaluate muenster_truth.json and uni_aggregator_prediction_test_muenster.json\n",
"All: 237\n",
"True Positive: 190\n",
"False Positive: 26\n",
"False Negative: 21\n",
"Precision: 0.8796296296296297\n",
"Recall: 0.9004739336492891\n",
"F1-Score: 0.8899297423887589\n",
DORTMUND:
"Evaluate dortmund_truth.json and uni_aggregator_prediction_test_dortmund.json\n",
"All: 158\n",
"True Positive: 105\n",
"False Positive: 35\n",
"False Negative: 18\n",
"Precision: 0.75\n",
"Recall: 0.8536585365853658\n",
"F1-Score: 0.7984790874524715\n",
WUPPERTAL:
"Evaluate wuppertal_truth.json and uni_aggregator_prediction_test_wuppertal.json\n",
"All: 150\n",
"True Positive: 109\n",
"False Positive: 34\n",
"False Negative: 7\n",
"Precision: 0.7622377622377622\n",
"Recall: 0.9396551724137931\n",
"F1-Score: 0.8416988416988418\n",
----->>
F1-SCORES
Setting | UDE | Münster | Dortmund | Wuppertal
---------------------|--------|---------|----------|-----------
Baseline | 0.775 | 0.862 | 0.790 | 0.820 < shown in paper
Only disambiguate | 0.775 | 0.864 | 0.790 | 0.820
Only direct | 0.788 | 0.890 | 0.790 | 0.825
Only indirect | 0.775 | 0.862 | 0.790 | 0.820 < shown in paper
Only meta | 0.882 | 0.864 | 0.798 | 0.839 < shown in paper
Full | 0.882 | 0.889 | 0.7984 | 0.841 < shown in paper
------------------------------------------------------------->LANDING PAGE IDENTIFICATION
Purpose: how good can we define the landing pages right?
Take only the text of the pages from LLM_DATASET and train flan-t5-base, flan-t5-large and distillbert on it. Then predict.
Cross-university -> test on uni but train on 3 other universities
ONLY SINGLE SETTING RESULTS ARE SHOWN IN THE ORGMINER PAPER.
Fine tuned only base models. For llm is "not"
Model | University | Setting | Macro F1
-------------------------|-------------|----------------------------------|---------
distilbert-base-uncased | UDE | Single (75/25) | 0.70
distilbert-base-uncased | UDE | Cross-university | 0.61
distilbert-base-uncased | Münster | Single (75/25) | 0.68
distilbert-base-uncased | Münster | Cross-university | 0.65
distilbert-base-uncased | Dortmund | Single (75/25) | 0.60
distilbert-base-uncased | Dortmund | Cross-university | 0.57
distilbert-base-uncased | Wuppertal | Single (75/25) | 0.62
distilbert-base-uncased | Wuppertal | Cross-university | 0.55
-------------------------|-------------|----------------------------------|---------
flan-t5-base | UDE | Single (75/25) | 0.72
flan-t5-base | UDE | Cross-university | 0.69
flan-t5-base | Münster | Single (75/25) | 0.79
flan-t5-base | Münster | Cross-university | 0.68
flan-t5-base | Dortmund | Single (75/25) | 0.65
flan-t5-base | Dortmund | Cross-university | 0.65
flan-t5-base | Wuppertal | Single (75/25) | 0.62
flan-t5-base | Wuppertal | Cross-university | 0.66
-------------------------|-------------|----------------------------------|---------
flan-t5-large | UDE | Single (75/25) | 0.79
flan-t5-large | UDE | Cross-university | 0.65
flan-t5-large | Münster | Single (75/25) | 0.83
flan-t5-large | Münster | Cross-university | 0.71
flan-t5-large | Dortmund | Single (75/25) | 0.72
flan-t5-large | Dortmund | Cross-university | 0.66
flan-t5-large | Wuppertal | Single (75/25) | 0.69
flan-t5-large | Wuppertal | Cross-university | 0.68
------------------------------------------------------->TODO Guideline from previous steps to actual orgminer paper <---------------------------------------
@@ -0,0 +1,48 @@
# University Structure Crawler — Project Overview
> **Goal:** Starting from a university homepage URL, automatically discover and classify the hierarchical academic structure — **Faculties → Institutes → Chairs** — by crawling and analyzing web pages.
---
## Navigation
| Note | What it covers |
|------|---------------|
| [[01_Initial_Pipeline]] | The original crawling algorithm (Sep 2024) |
| [[02_Baseline_Evaluation]] | First evaluation results on UDE, TUD, MUE |
| [[03_ML_Approach]] | SGDClassifier on headings and page content |
| [[04_Expanding_Universities]] | Adding 10+ new universities (Oct 2024) |
| [[05_Geometry_and_Fixes]] | Page depth, footer removal, geometry fixes (Oct 2024) |
| [[06_Width_Search]] | Depth-first fallback when no aggregators found (Nov 2024) |
| [[07_DistilBERT_and_FLAN]] | Neural classifiers for faculty detection |
| [[08_LLM_Approach]] | LLaMA-based page classification |
| [[09_Results_Summary]] | Final comparison table across all strategies |
| [[10_CMS_Statistics]] | CMS distribution across universities |
| [[11_LLM_Dataset_and_Classification]] | Formal LLM dataset + LLaMA vs GPT-4o-mini comparison (Jan 2025) |
| [[12_Reasoning_and_Features]] | LLM reasoning → feature extraction → SVM pipeline |
| [[13_Aggregator_Evaluation]] | Isolated evaluation of the aggregator-finding sub-task |
| [[14_Landing_Page_Identification]] | Fine-tuned DistilBERT / FLAN-T5 for concept page classification |
| [[15_Paper_Results]] | Final OrgMiner paper results + full research journey table |
---
## Key Concepts
- **Aggregator page** — a listing page that links to multiple concept instances (e.g. "All Faculties")
- **Concept types** — `FACULTY`, `INSTITUTE`, `CHAIR`
- **Page depth** — number of hops from the university homepage to reach a page
- **Domain filter** — restricting predictions to URLs within the university's own domain
---
## Timeline
```
Sep 17, 2024 → Initial pipeline + baseline ML experiments
Oct 03, 2024 → Bug fixes + 10 new universities added
Oct 14, 2024 → Geometry fixes, footer removal, page depth added
Nov 08, 2024 → Width search + DistilBERT/FLAN-T5 + LLM (LLaMA)
Jan 06, 2025 → Formal LLM dataset, GPT-4o-mini, reasoning pipeline
Jan 2025 → Aggregator isolated eval + fine-tuned flan-t5-large
Jan 2025 → OrgMiner paper finalized
```
@@ -0,0 +1,67 @@
# 01 — Initial Pipeline
> **Date:** September 17, 2024
> **Status:** Foundation — all later approaches build on or modify this
> **Related:** [[00_Project_Overview]] | [[02_Baseline_Evaluation]]
---
## The Problem
Given a university homepage URL, discover all **Faculties**, **Institutes**, and **Chairs** in a structured, hierarchical way — without knowing in advance how any particular university organizes its website.
---
## Pipeline Steps
The initial algorithm is a breadth-first crawl with specialized steps at each stage:
```
initialize_queue
└─→ find_aggregators
└─→ create_aggregator
└─→ expand_children
└─→ resolve_links
└─→ enqueue_children
└─→ handle_dynamic_menus
└─→ repeat_loop
└─→ disambiguate_children
└─→ return_results
```
| Step | Purpose | What it does |
|------|---------|--------------|
| `initialize_queue` | Setup | Starts with the initial URL and target concepts |
| `find_aggregators` | Detection | Looks for listing pages (URLs containing plural concept names), verifies by checking children |
| `create_aggregator` | Validation | Opens candidate pages, collects links that point to actual concept instances |
| `expand_children` | Recall improvement | Optionally adds more children via geometry alignment and homepage resolution |
| `resolve_links` | Cleaning | Normalizes and deduplicates child URLs after redirects |
| `enqueue_children` | Recursion | Pushes child pages back into the queue with remaining concepts |
| `handle_dynamic_menus` | Hidden nav | Follows menu-style links (e.g. "faculties", "institutions") |
| `repeat_loop` | Breadth-first | Continues until the queue is empty |
| `disambiguate_children` | Conflict resolution | Assigns children to the most likely concept based on text matching |
| `return_results` | Output | Returns all aggregator pages with their classified children |
---
## Design Decisions
- **Breadth-first traversal** — ensures shallower (more prominent) pages are found first
- **Aggregator-first strategy** — find listing pages before individual concept pages
- **Heuristic-based** — relies on URL patterns and text matching, no ML at this stage
- **Recursive** — child pages themselves become starting points for deeper concept discovery
---
## Known Weaknesses (revealed by evaluation)
- Misses institutes and chairs that aren't linked from a clear aggregator page
- High false-positive rate for chairs (broad URL pattern matching)
- Does not handle dynamic/JavaScript-rendered navigation well out of the box
- `handle_dynamic_menus` was added specifically to patch this gap
---
## Next
→ [[02_Baseline_Evaluation]] — How well did this pipeline actually perform?
@@ -0,0 +1,68 @@
# 02 — Baseline Evaluation
> **Date:** September 17, 2024
> **Related:** [[01_Initial_Pipeline]] | [[03_ML_Approach]] | [[09_Results_Summary]]
---
## Setup
Three universities were used as the initial evaluation benchmark:
| Code | University |
|------|-----------|
| **UDE** | Universität Duisburg-Essen |
| **TUD** | Technische Universität Dortmund |
| **MUE** | Universität Münster |
All results use a **domain filter** (predictions restricted to the university's own domain).
Metric: **F1-Score** (harmonic mean of Precision and Recall).
---
## Results
### UDE — Universität Duisburg-Essen
| Concept | Predictions | Truth | TP | FP | FN | Precision | Recall | **F1** |
| --------- | ----------- | ----- | --- | --- | --- | --------- | ------ | --------- |
| FACULTY | 12 | 12 | 12 | 0 | 0 | 1.000 | 1.000 | **1.000** |
| INSTITUTE | 46 | 45 | 29 | 16 | 16 | 0.644 | 0.644 | **0.644** |
| CHAIR | 418 | 423 | 290 | 126 | 133 | 0.697 | 0.686 | **0.691** |
### TUD — TU Dortmund
| Concept | Predictions | Truth | TP | FP | FN | Precision | Recall | **F1** |
|---------|-------------|-------|----|----|----|-----------|---------|----|
| FACULTY | 29 | 17 | 17 | 12 | 0 | 0.586 | 1.000 | **0.739** |
| INSTITUTE | 4 | 32 | 3 | 1 | 29 | 0.750 | 0.094 | **0.167** |
| CHAIR | 127 | 271 | 58 | 69 | 213 | 0.457 | 0.214 | **0.291** |
### MUE — Universität Münster
| Concept | Predictions | Truth | TP | FP | FN | Precision | Recall | **F1** |
|---------|-------------|-------|----|----|----|-----------|---------|----|
| FACULTY | 44 | 15 | 14 | 30 | 1 | 0.318 | 0.933 | **0.475** |
| INSTITUTE | 166 | 135 | 104 | 61 | 31 | 0.630 | 0.770 | **0.693** |
| CHAIR | 271 | 436 | 172 | 99 | 264 | 0.635 | 0.394 | **0.487** |
---
## Observations
- **FACULTY detection** works well for UDE (F1=1.0) but poorly for MUE (F1=0.47) and TUD (F1=0.74 — recall is perfect but precision is low, meaning many false positives)
- **INSTITUTE detection** is mediocre overall: best at MUE (0.69), terrible at TUD (0.17) due to very low recall
- **CHAIR detection** is consistently the hardest: TUD at 0.29 is very poor
- TUD is the hardest university overall — the algorithm finds faculties by recall but floods results with false positives, and almost completely misses institutes and chairs
---
## Key Takeaway
> The heuristic pipeline works reasonably well for UDE (a university whose site structure matches the algorithm's assumptions well), but **does not generalize** — TUD and MUE expose significant weaknesses in both precision and recall.
---
## Next
→ [[03_ML_Approach]] — Can a machine learning classifier fix the precision/recall problems?
@@ -0,0 +1,128 @@
# 03 — ML Approach: SGDClassifier on Page Content
> **Date:** September 17, 2024
> **File:** `ml_multi_algorithm.ipynb`
> **Related:** [[02_Baseline_Evaluation]] | [[04_Expanding_Universities]] | [[07_DistilBERT_and_FLAN]]
---
## Motivation
The heuristic pipeline struggles with precision and recall. The idea: **can a classifier trained on the text of web pages reliably distinguish between AGGREGATOR, FACULTY, INSTITUTE, CHAIR — and filter out false positives (OTHER)?**
---
## Approach
1. Take ground truth files with known correct pages
2. Download each page and extract its first 10 headings (`<h1>` through `<h6>`)
3. Feed headings into an **SGDClassifier** (Stochastic Gradient Descent, scikit-learn)
4. Train/test split: **75% / 25%**
5. Classes: `AGGREGATOR`, `FACULTY`, `INSTITUTE`, `CHAIR`
A second variant used **full page content** via **Trafilatura** instead of just headings.
---
## Phase 1: Unbalanced Data
The dataset was heavily skewed — CHAIRs make up the vast majority of pages.
### All Universities Combined (headings, unbalanced)
| Class | Precision | Recall | F1 | Support |
|-------|-----------|--------|----|---------|
| AGGREGATOR | 0.57 | 0.44 | **0.50** | 18 |
| CHAIR | 0.88 | 0.91 | **0.89** | 243 |
| FACULTY | 0.82 | 0.69 | **0.75** | 13 |
| INSTITUTE | 0.53 | 0.51 | **0.52** | 51 |
| **Accuracy** | | | **0.81** | 325 |
> CHAIR performs well because the model is biased toward predicting it. AGGREGATOR and INSTITUTE (~0.50 F1) are unreliable.
### Per-University Breakdown (Headings, Unbalanced)
| University | AGGREGATOR | CHAIR | FACULTY | INSTITUTE | Accuracy | Macro AVG |
| ---------- | ---------- | ----- | ------- | --------- | -------- | --------- |
| Münster | 0.60 | 0.82 | 0.80 | 0.60 | 0.75 | 0.70 |
| UDE | 0.33 | 0.89 | 0.80 | 0.21 | 0.79 | 0.56 |
| TUD | 0.73 | 0.89 | 0.29 | 0.17 | 0.80 | 0.52 |
### Per-University Breakdown (Full Page Content via Trafilatura, Unbalanced)
| University | AGGREGATOR | CHAIR | FACULTY | INSTITUTE | Accuracy | Macro AVG |
| ---------- | ---------- | ----- | ------- | --------- | -------- | --------- |
| Münster | 0.44 | 0.86 | 1.00 | 0.49 | 0.76 | 0.70 |
| UDE | 0.50 | 0.89 | 0.80 | 0.40 | 0.82 | 0.65 |
| TUD | 0.14 | 0.86 | 0.40 | 0.00 | 0.72 | 0.35 |
---
## Phase 2: Balanced Data
Labels were balanced (equal class sizes) to remove the CHAIR bias. Results improved dramatically.
### Per-University (Headings, Balanced)
| University | AGGREGATOR | CHAIR | FACULTY | INSTITUTE | Accuracy | Macro AVG |
| ---------- | ---------- | -------- | -------- | --------- | -------- | --------- |
| Münster | **0.94** | **0.90** | **1.00** | **0.93** | **0.94** | 0.96 |
| UDE | **0.95** | **0.97** | **1.00** | **0.95** | **0.97** | 0.97 |
| TUD | **0.97** | **0.97** | **0.99** | **0.95** | **0.97** | 0.97 |
### Per-University (Full Page Content with Trafilatura, Balanced)
| University | AGGREGATOR | CHAIR | FACULTY | INSTITUTE | Accuracy | Macro AVG |
| ---------- | ---------- | -------- | -------- | --------- | -------- | --------- |
| Münster | **0.94** | **0.96** | **1.00** | **0.94** | **0.96** | 0.96 |
| UDE | **0.95** | **0.99** | **1.00** | **0.92** | **0.97** | 0.97 |
| TUD | **0.93** | **0.99** | **1.00** | **0.94** | **0.97** | 0.96 |
> With balanced data, the classifier achieves ~0.97 accuracy and F1 ≥ 0.90 across all classes. Trafilatura (full content) slightly outperforms headings-only.
---
## Phase 3: Adding "OTHER" Category
In real use, not every page is a known concept — false positives need to be rejected. An **OTHER** class was added representing pages that are neither faculties, institutes, chairs, nor aggregators.
### Balanced + OTHER (All Universities, Headings)
| Class | Precision | Recall | F1 | Support |
| ------------ | --------- | ------ | -------- | ------- |
| AGGREGATOR | 0.89 | 0.91 | **0.90** | 70 |
| CHAIR | 0.85 | 0.89 | **0.87** | 89 |
| FACULTY | 0.99 | 1.00 | **0.99** | 78 |
| INSTITUTE | 0.94 | 0.91 | **0.92** | 66 |
| OTHER | 0.85 | 0.80 | **0.82** | 84 |
| **Accuracy** | | | **0.90** | 387 |
| Macro AVG | 0.90 | 0.90 | 0.90 | 387 |
> Adding OTHER drops overall accuracy slightly to 0.90, but the model can now reject false positives — essential for real deployment.
---
## Attempts to Integrate ML Into the Pipeline
### Attempt 1: Replace aggregator search with model predictions → **Failed**
- Result: 0 aggregators found → 0 concepts discovered
- Reason: The iterative loop relies on correctly matching aggregator links; wrong matching breaks the whole chain
### Attempt 2: Replace concept classification only → **Poor recall**
- Example (UDE, CHAIR): TP=21, FP=8, FN=402 → F1 ≈ 0.09
- The model finds very few pages because it only sees what the heuristic pipeline hands it
### Attempt 3: Use model to *validate* (filter) heuristic results → **Slightly better**
- FP for CHAIR reduced from 13 → 8 (replacing) and 3 → 2 (validating)
- But recall remained near zero
### Conclusion
> The ML classifier is accurate *in isolation* on balanced data, but **does not integrate well into the heuristic pipeline**. It makes the search stricter, not smarter — recall collapses. A different integration strategy is needed.
---
## Next
→ [[04_Expanding_Universities]] — Scale to more universities before trying new approaches
→ [[07_DistilBERT_and_FLAN]] — Move to neural classifiers
@@ -0,0 +1,68 @@
# 04 — Expanding to More Universities
> **Date:** October 3, 2024
> **Related:** [[02_Baseline_Evaluation]] | [[05_Geometry_and_Fixes]]
---
## Changes in This Commit
- **Bug fix:** URLs ending with multiple `//` caused an infinite loop → fixed
- **Persistent concepts adjusted** for known universities
- **New university configs added:** Köln, Aachen, Bonn, Bielefeld, Dortmund, HHU Düsseldorf, Paderborn, RUB Bochum, Wuppertal, Siegen
---
## Prediction Results Across All Universities
Results are raw prediction counts (not yet validated against ground truth for new universities).
| University | Faculties | Institutes | Chairs | Notes |
|-----------|-----------|------------|--------|-------|
| UDE | 12 | 47 | 614 | Previously evaluated |
| Münster | 44 | 196 | 275 | Previously evaluated |
| Köln | 6 | 11 | 55 | New — reasonable results |
| Aachen | 0 | 0 | 0 | ❌ Nothing found |
| HHU Düsseldorf | 1 | 15 | 22 | Partial |
| Paderborn | 0 | 0 | 0 | ❌ Endless loop |
| Bielefeld | 0 | 0 | 0 | ❌ Nothing found |
| RUB Bochum | 0 | 0 | 0 | ❌ Endless loop |
| Siegen | 0 | 0 | 0 | ❌ Nothing found |
| Bonn | 0 | 0 | 0 | ❌ Nothing found |
| Wuppertal | 7 | 34 | 404 | Reasonable results |
| Dortmund | 29 | 8 | 260 | Many faculties, few institutes |
---
## Observations
- Only **4 of 12** universities return non-zero results for all three concept types
- Several universities cause **infinite loops** (Paderborn, RUB) — a systemic bug with certain site structures
- Aachen, Bielefeld, Siegen, Bonn return nothing — the heuristic pipeline finds no entry points at all
- The pipeline clearly **doesn't generalize** to all university website structures
---
## Root Cause Analysis
The pipeline's aggregator detection relies on URL patterns containing plural concept keywords (e.g. "faculties", "institutes"). Universities that:
- Use different URL conventions (e.g. German-only paths, deeply nested structures)
- Have JavaScript-rendered navigation
- Organize content non-hierarchically
…are effectively invisible to the heuristic.
---
## Key Insight
> **If we can't find faculties, we won't find institutes or chairs either.** Faculty pages are the entry points to the rest of the hierarchy. Improving faculty discovery is the highest-leverage problem.
This insight directly motivates [[06_Width_Search]].
---
## Next
→ [[05_Geometry_and_Fixes]] — Refine existing results with geometry and footer fixes
→ [[06_Width_Search]] — Address the zero-result universities
@@ -0,0 +1,101 @@
# 05 — Geometry Fixes, Footer Removal, Page Depth
> **Date:** October 14, 2024
> **Related:** [[04_Expanding_Universities]] | [[06_Width_Search]] | [[09_Results_Summary]]
---
## Changes
Three improvements were applied to the pipeline:
| Change | What it does |
|--------|-------------|
| **Page depth tracking** | Records how many URLs the algorithm traversed to reach a page. Lower depth = closer to homepage = higher probability of being a top-level concept (faculty). |
| **Footer removal** | Footers contain navigation links that are present on *every* page and generate noise (false positive aggregator candidates). Stripping them improves signal quality. |
| **Geometry fixes** | Adjusts how child links are collected from aggregator pages — improves spatial/layout-based link extraction |
| **Faculty deduplication** | In evaluation, faculties were being counted multiple times; now deduplicated before scoring |
---
## Re-Evaluation Results
### UDE
| Concept | Predictions | Truth | TP | FP | FN | Precision | Recall | **New F1** |
| --------- | ----------- | ----- | --- | --- | --- | --------- | ------ | ---------- |
| FACULTY | 12 | 12 | 12 | 0 | 0 | 1.000 | 1.000 | **1.000** |
| INSTITUTE | 40 | 45 | 29 | 10 | 16 | 0.743 | 0.644 | **0.690** |
| CHAIR | 381 | 423 | 243 | 137 | 180 | 0.640 | 0.574 | **0.605** |
| Concept | Old F1 | New F1 | Δ | Note |
|---------|--------|--------|---|------|
| FACULTY | 1.000 | **1.000** | — | Perfect, unchanged |
| INSTITUTE | 0.644 | **0.690** | +0.046 | ✅ Improved |
| CHAIR | 0.691 | **0.605** | −0.086 | ❌ Regressed |
### TUD
| Concept | Predictions | Truth | TP | FP | FN | Precision | Recall | **New F1** |
| --------- | ----------- | ----- | --- | --- | --- | --------- | ------ | ---------- |
| FACULTY | 29 | 17 | 17 | 12 | 0 | 0.586 | 1.000 | **0.739** |
| INSTITUTE | 8 | 31 | 5 | 3 | 26 | 0.625 | 0.161 | **0.256** |
| CHAIR | 210 | 261 | 64 | 146 | 197 | 0.304 | 0.245 | **0.272* |
| Concept | Old F1 | New F1 | Δ | Note |
|---------|--------|--------|---|------|
| FACULTY | 0.739 | **0.739** | — | Unchanged |
| INSTITUTE | 0.167 | **0.256** | +0.089 | ✅ Improved |
| CHAIR | 0.291 | **0.272** | −0.019 | ❌ Slight regression |
### MUE
| Concept | Predictions | Truth | TP | FP | FN | Precision | Recall | **New F1** |
| --------- | ----------- | ----- | --- | --- | --- | --------- | ------ | ---------- |
| FACULTY | 21 | 15 | 15 | 6 | 0 | 0.714 | 1.000 | 0.833 |
| INSTITUTE | 131 | 135 | 97 | 33 | 38 | 0.746 | 0.718 | **0.732** |
| CHAIR | 205 | 429 | 142 | 63 | 287 | 0.692 | 0.331 | **0.448* |
| Concept | Old F1 | New F1 | Δ | Note |
|---------|--------|--------|---|------|
| FACULTY | 0.475 | **0.833** | +0.358 | ✅✅ Major improvement |
| INSTITUTE | 0.693 | **0.732** | +0.039 | ✅ Improved |
| CHAIR | 0.487 | **0.448** | −0.039 | ❌ Slight regression |
---
## Observations
- **Faculties** improve significantly (especially MUE: +0.36) — geometry and deduplication help a lot here
- **Institutes** improve across all three universities
- **Chairs** regress slightly on all three — the geometry changes may be overly aggressive in filtering, cutting out true positives
> The pattern is clear: changes that help find top-level concepts (faculties, institutes) tend to hurt recall for the most numerous and deeply nested ones (chairs).
---
## Updated Prediction Counts (Oct 14)
| University | Faculties | Institutes | Chairs |
|-----------|-----------|------------|--------|
| UDE | 12 | 69 | 537 |
| MUE | 21 | 141 | 214 |
| Köln | 6 | 11 | 53 |
| Aachen | 0 | 0 | 0 |
| HHU | 0 | 0 | 0 |
| Paderborn | 0 | 0 | 0 (endless) |
| Bielefeld | 0 | 0 | 0 |
| RUB | 0 | 0 | 0 |
| Bonn | 6 | 11 | 53 |
| Siegen | 0 | 0 | 0 |
| Wuppertal | 7 | 30 | 404 |
| TUD | 29 | 8 | 222 |
> Bonn now returns results (was 0 previously). Most "zero" universities remain unsolved.
---
## Next
→ [[06_Width_Search]] — Address zero-result universities by adding depth-based fallback search
@@ -0,0 +1,89 @@
# 06 — Width Search (Depth Fallback)
> **Date:** November 8, 2024
> **Related:** [[04_Expanding_Universities]] | [[05_Geometry_and_Fixes]] | [[07_DistilBERT_and_FLAN]]
---
## Motivation
> *"If we can't find faculties for a university, we probably won't find chairs and institutes either."*
> — from project notes
Many universities returned zero results because the breadth-first pipeline could not find any aggregator pages from the start URL alone. The fix: **if no aggregators are found, fall back to a depth-first search** to uncover candidates that are buried deeper in the site.
---
## How Width Search Works
```
Start URL
└── Depth 1: crawl page → find aggregator candidates
└── Depth 2: crawl linked pages → find more candidates
└── Depth 3: crawl further → find more candidates
```
This is effectively a **DFS fallback** on top of the BFS main loop — it sacrifices speed to improve recall when the primary approach fails.
---
## Re-Evaluation Results (Nov 8)
### UDE
| Concept | Oct 14 F1 | Nov 8 F1 | Δ |
|---------|-----------|----------|---|
| FACULTY | 1.000 | **1.000** | — |
| INSTITUTE | 0.690 | **0.615** | −0.075 ❌ |
| CHAIR | 0.605 | **0.545** | −0.060 ❌ |
### MUE
| Concept | Oct 14 F1 | Nov 8 F1 | Δ |
|---------|-----------|----------|---|
| FACULTY | 0.833 | **0.833** | — |
| INSTITUTE | 0.732 | **0.698** | −0.034 ❌ |
| CHAIR | 0.448 | **0.455** | +0.007 ✅ |
### TUD — Major improvement for faculties
| Concept | Oct 14 F1 | Nov 8 F1 | Δ |
|---------|-----------|----------|---|
| FACULTY | 0.739 | **0.941** | +0.202 ✅✅ |
| INSTITUTE | 0.256 | **0.154** | −0.102 ❌ |
| CHAIR | 0.272 | **0.236** | −0.036 ❌ |
---
## Updated Predictions for New Universities (Nov 8)
| University | Faculties | Institutes | Chairs | Change vs Oct |
|-----------|-----------|------------|--------|--------------|
| UDE | 12 | 46 | 387 | Stable |
| MUE | 21 | 151 | 318 | More institutes/chairs |
| Köln | 1 | 10 | 0 | ❌ Lost chairs |
| Aachen | 17 | 0 | 0 | ✅ Faculties now found! |
| HHU | 6 | 4 | 51 | ✅ All three now found |
| Paderborn | 0 | 0 | 0 | Still endless |
| Bielefeld | 59 | 0 | 0 | ✅ Many faculties, but no hierarchy |
| RUB | 0 | 0 | 0 | Still failing |
| Bonn | — | — | — | — |
| Siegen | 0 | 0 | 0 | Still failing |
| Wuppertal | 19 | 31 | 659 | ✅ More chairs found |
---
## Observations
- Width search **does** unlock some previously-zero universities (Aachen now finds 17 faculties)
- But it consistently **hurts institute and chair scores** on already-working universities — it introduces noise
- TUD faculty F1 jumps from 0.74 → 0.94, which is a significant win
- The trade-off is clear: **recall for faculties ↑, precision/recall for institutes and chairs ↓**
> Width search is a useful fallback but a blunt instrument. It needs a smarter filter to avoid creating noise. This motivates the next step: using a classifier to decide *which* discovered pages are actually relevant.
---
## Next
→ [[07_DistilBERT_and_FLAN]] — Use DistilBERT and FLAN-T5 as smarter page classifiers to pair with width search
@@ -0,0 +1,119 @@
# 07 — DistilBERT and FLAN-T5
> **Date:** November 8, 2024
> **Related:** [[06_Width_Search]] | [[08_LLM_Approach]] | [[03_ML_Approach]]
---
## Motivation
The SGDClassifier from [[03_ML_Approach]] showed strong *offline* accuracy but failed to improve pipeline results in practice. Width search [[06_Width_Search]] finds more pages but introduces noise.
**New idea:** Train a transformer-based classifier (DistilBERT or FLAN-T5) on URL + page depth + headings + body text to classify pages as `FACULTY` or `OTHER`. Feed the width-search results through this filter.
---
## Training Data
Pages were collected from: **UDE, Münster**, plus additional faculty URLs from **TUD, Bielefeld, Paderborn, RUB, HHU Düsseldorf, Cologne, RWTH Aachen, Bonn, Siegen, Wuppertal**.
Input features per page:
- `url` — the page URL
- `pagedepth` — distance from university homepage
- `found_link_text_flag` — whether the link text to this page also appears on the page itself
- `headings` — extracted headings
- `text` — full page content
---
## DistilBERT Results
### 500-page dataset (636 train / 160 test, 80/20 split)
| | Count |
|---|---|
| Faculty pages | 298 |
| Other pages | 498 |
| Test set size | 160 |
| Metric | Value |
|--------|-------|
| True Positives | 27 |
| True Negatives | 96 |
| False Positives | 4 |
| False Negatives | 33 |
| **Precision** | **0.871** |
| **Recall** | **0.450** |
| **F1** | **0.593** |
### 1000-page dataset (1034 train / 260 test, 80/20 split)
| Metric | Value |
|--------|-------|
| True Positives | 19 |
| True Negatives | 200 |
| False Positives | 0 |
| False Negatives | 41 |
| **Precision** | **1.000** |
| **Recall** | **0.317** |
| **F1** | **0.481** |
> With more "other" examples, the model becomes very conservative — near-perfect precision but recall collapses. It's learning to say "not a faculty" for most things.
---
## FLAN-T5 Results
### 500-page dataset (636 train / 160 test)
| Metric | Value |
|--------|-------|
| True Positives | 54 |
| True Negatives | 63 |
| False Positives | 35 |
| False Negatives | 7 |
| **Precision** | **0.607** |
| **Recall** | **0.885** |
| **F1** | **0.720** |
### 1000-page dataset (1034 train / 260 test)
| Metric | Value |
|--------|-------|
| True Positives | 59 |
| True Negatives | 111 |
| False Positives | 83 |
| False Negatives | 6 |
| **Precision** | **0.415** |
| **Recall** | **0.908** |
| **F1** | **0.570** |
> FLAN-T5 has the opposite problem to DistilBERT: very high recall but poor precision. It classifies too many pages as faculties.
---
## Comparison
| Model | Dataset | Precision | Recall | F1 |
|-------|---------|-----------|--------|----|
| DistilBERT | 500 pages | 0.871 | 0.450 | **0.593** |
| DistilBERT | 1000 pages | 1.000 | 0.317 | **0.481** |
| FLAN-T5 | 500 pages | 0.607 | 0.885 | **0.720** ← best |
| FLAN-T5 | 1000 pages | 0.415 | 0.908 | **0.570** |
---
## Observations
- **FLAN-T5 at 500 pages** achieves the best F1 (0.72) but at the cost of many false positives
- **DistilBERT** is more conservative and more precise but misses too many real faculty pages
- Neither model achieves results good enough to replace the heuristic aggregator search
- Results are **only for faculty detection** — institute and chair classification wasn't the focus here
> The neural classifiers work better than the SGDClassifier in some configurations, but still don't bridge the gap to reliable pipeline integration. The approach of "filter pages with a classifier" hasn't solved the recall problem.
---
## Next
→ [[08_LLM_Approach]] — Abandon classification models; let an LLM reason about pages directly
@@ -0,0 +1,126 @@
# 08 — LLM Approach (LLaMA)
> **Date:** November 2024
> **Related:** [[07_DistilBERT_and_FLAN]] | [[09_Results_Summary]]
---
## Motivation
> *"Previous approaches didn't lead to satisfying results. What if we let an LLM decide whether a web page is a faculty, institute, chair main page or not based on its content?"*
Rather than training a classifier, feed page attributes directly to **LLaMA** and let it reason in natural language about what type of page it's looking at.
---
## Implementation
### Input Features (same as DistilBERT/FLAN)
- `url`
- `pagedepth`
- `found_link_text_flag`
- `headings`
- `text`
### Faculty — System Prompt
> **Faculty System Prompt:** See "Early LLaMA — Faculty (system)" in [[16_Prompts_Reference]]
### Faculty — User Prompt
> **Faculty User Prompt:** See "Early LLaMA — Faculty (user)" in [[16_Prompts_Reference]]
### Institute / Chair — System Prompt
> **Inst/Chair System Prompt:** See "Early LLaMA — Inst/Chair (system)" in [[16_Prompts_Reference]]
### Institute / Chair — User Prompt
> **Inst/Chair User Prompt:** See "Early LLaMA — Inst/Chair (user)" in [[16_Prompts_Reference]]
---
## Results
### UDE — Full Comparison of All Pipeline Variants
| Run | Faculty F1 | Institute F1 | Chair F1 |
|-----|-----------|-------------|---------|
| nothing | 0.957 | 0.643 | 0.404 |
| only_geometry | 1.000 | 0.682 | 0.601 |
| only_disambiguate | 0.957 | 0.643 | 0.407 |
| only_direct | 0.957 | 0.643 | 0.453 |
| only_indirect | 0.957 | 0.643 | 0.401 |
| only_meta | 0.957 | 0.643 | 0.519 |
| only_dynamic | 0.957 | 0.643 | 0.419 |
| only_widths_search | 0.957 | 0.627 | 0.404 |
| **only_using_llm** | **1.000** | **0.759** | **0.629** |
| all | 1.000 | 0.721 | 0.264 |
| all_no_width | 0.923 | 0.707 | 0.236 |
> **LLM-only is the best single approach for UDE** — achieving perfect faculty F1 and the highest institute and chair scores.
---
### MUE (Münster)
| Run | Faculty F1 | Institute F1 | Chair F1 |
|-----|-----------|-------------|---------|
| nothing | 0.966 | 0.484 | 0.423 |
| only_geometry | **1.000** | 0.483 | 0.445 |
| only_disambiguate | 0.966 | 0.486 | 0.423 |
| only_direct | 0.966 | 0.484 | 0.423 |
| only_indirect | 0.966 | 0.477 | 0.414 |
| only_meta | 0.800 | 0.484 | 0.421 |
| only_dynamic | 0.966 | 0.484 | **0.450** |
| only_widths_search | 0.966 | 0.484 | 0.423 |
| only_using_llm | 0.909 | 0.509 | 0.404 |
| **all** | 0.857 | **0.571** | 0.418 |
| all_no_width | 0.882 | 0.317 | — |
> For MUE, the LLM approach is **not the best** — `only_geometry` wins for faculties, `only_dynamic` for chairs, `all` for institutes. The LLM actually *hurts* faculty recall slightly vs. the baseline.
---
### Dortmund (TUD) — New University, Harder Case
| Run | Faculty F1 | Institute F1 | Chair F1 |
|-----|-----------|-------------|---------|
| nothing | 0.000 | 0.171 | 0.082 |
| only_geometry | 0.000 | 0.171 | 0.119 |
| only_disambiguate | 0.000 | 0.171 | 0.082 |
| only_direct | 0.000 | 0.158 | 0.082 |
| **only_indirect** | **0.941** | 0.158 | 0.164 |
| only_meta | 0.000 | 0.171 | 0.102 |
| only_dynamic | 0.000 | 0.154 | 0.160 |
| only_widths_search | 0.000 | 0.171 | 0.082 |
| only_using_llm | 0.000 | 0.171 | 0.082 |
| **all** | **0.941** | 0.000 | 0.000 |
| all_no_width | 0.941 | 0.000 | 0.000 |
> The LLM approach finds **nothing** for Dortmund — 0.0 across faculties, institutes, and chairs. `only_indirect` is the only approach that recovers faculties (0.941), but institutes and chairs remain essentially unsolved.
---
## Key Finding
> **The LLM-only approach does not scale well.** It performs excellently for UDE, but shows no advantage (or actively regresses) for Münster, and completely fails for Dortmund.
This is likely because:
- UDE's site structure is more amenable to text-based reasoning
- LLaMA cannot discover pages it's never shown — it only classifies what the pipeline hands it
- For universities where the heuristic finds nothing, the LLM has nothing to classify
---
## Summary of All Approach Trade-offs
| Approach | Strength | Weakness |
|---------|---------|---------|
| Heuristic baseline | Fast, works on well-structured sites | Doesn't generalize |
| Geometry | Helps faculties | No effect on institutes/chairs |
| Width search | Finds faculties on new sites | Hurts institute/chair precision |
| SGDClassifier | High accuracy offline | Kills recall when integrated |
| DistilBERT | High precision | Too conservative, low recall |
| FLAN-T5 | High recall | Too many false positives |
| **LLM (UDE)** | **Best overall for UDE** | **Fails to generalize** |
| All combined | Good recall | Often hurts precision badly |
---
## Next
→ [[09_Results_Summary]] — Final comparison across all strategies and universities
@@ -0,0 +1,78 @@
# 09 — Results Summary
> **Related:** [[02_Baseline_Evaluation]] | [[05_Geometry_and_Fixes]] | [[06_Width_Search]] | [[08_LLM_Approach]]
---
## F1-Score Evolution Across Milestones
### UDE — Universität Duisburg-Essen
| Date | Change | Faculty F1 | Institute F1 | Chair F1 |
|------|--------|-----------|-------------|---------|
| Sep 17 | Baseline | 1.000 | 0.644 | **0.691** |
| Oct 14 | Geometry + depth | 1.000 | **0.690** | 0.605 |
| Nov 8 | + Width search | 1.000 | 0.615 | 0.545 |
| Nov 8 | LLM only | **1.000** | **0.759** | **0.629** |
### TUD — TU Dortmund
| Date | Change | Faculty F1 | Institute F1 | Chair F1 |
|------|--------|-----------|-------------|---------|
| Sep 17 | Baseline | 0.739 | 0.167 | 0.291 |
| Oct 14 | Geometry + depth | 0.739 | **0.256** | 0.272 |
| Nov 8 | + Width search | **0.941** | 0.154 | 0.236 |
| Nov 8 | LLM only | 0.000 | 0.171 | 0.082 |
| Nov 8 | `only_indirect` | **0.941** | 0.158 | 0.164 |
### MUE — Universität Münster
| Date | Change | Faculty F1 | Institute F1 | Chair F1 |
|------|--------|-----------|-------------|---------|
| Sep 17 | Baseline | 0.475 | 0.693 | 0.487 |
| Oct 14 | Geometry + depth | **0.833** | **0.732** | 0.448 |
| Nov 8 | + Width search | 0.833 | 0.698 | **0.455** |
| Nov 8 | LLM only | 0.909 | 0.509 | 0.404 |
| Nov 8 | `all` | 0.857 | **0.571** | 0.418 |
---
## Best Per-University Configurations
| University | Best Faculty Run | Best Institute Run | Best Chair Run |
|-----------|----------------|-------------------|---------------|
| UDE | `only_llm` / `only_geometry` (F1=1.0) | `only_using_llm` (0.759) | `only_using_llm` (0.629) |
| MUE | `only_geometry` (1.000) | `all` (0.571) | `only_dynamic` (0.450) |
| TUD | `all` / `only_widths_search` (0.941) | `only_geometry` / `nothing` (0.171) | `only_geometry` (0.119) |
---
## Open Problems
| Problem | Status |
|---------|--------|
| TUD institutes and chairs | Essentially unsolved (best F1 ≈ 0.17 / 0.16) |
| Aachen, Bielefeld, Siegen, RUB, Paderborn | Zero results — pipeline cannot enter the structure |
| Paderborn / Siegen / RUB infinite loops | Bug not resolved |
| Generalizing across universities | No single configuration wins everywhere |
| Chair precision | Consistently high FP rate across all approaches |
---
## Structural Insight
The project reveals a fundamental tension:
> **Recall vs. Precision trade-off is universal.** Every attempt to improve recall (width search, LLM, dynamic menus) introduces more false positives for chairs. Every attempt to improve precision (ML validation, DistilBERT) collapses recall.
The heuristic pipeline is well-suited for universities with clear, keyword-rich URL structures and flat navigation. It breaks down for universities with:
- JavaScript-only navigation
- Deep nesting with no clear aggregator pages
- German-only (non-English) URL conventions
- Unusual CMS configurations (see [[10_CMS_Statistics]])
---
## Next
→ [[10_CMS_Statistics]] — What CMS do these universities use, and does it explain the performance differences?
@@ -0,0 +1,91 @@
# 10 — CMS Statistics
> **Date:** September 17, 2024
> **Related:** [[09_Results_Summary]] | [[00_Project_Overview]]
---
## Overview
Understanding which Content Management System (CMS) a university uses helps explain why certain sites are harder to crawl. Sites built on the same CMS tend to share URL patterns and navigation structures.
---
## UDE — Universität Duisburg-Essen
| Concept | CMS | Share |
|---------|-----|-------|
| **Faculties** | IMPERIA 9.2.14 | 83.33% |
| | TYPO3 CMS | 16.67% |
| **Institutes** | IMPERIA 9.2.14 | 90.59% |
| | TYPO3 CMS | 9.41% |
| **Chairs** | IMPERIA 9.2.14 | 79.59% |
| | TYPO3 CMS | 19.05% |
| | Hugo 0.159.2 | 0.51% |
| | WordPress 6.x | 0.68% |
| | Drupal 7 | 0.17% |
> UDE is **almost entirely IMPERIA** — a single CMS with a predictable structure. This likely explains why the pipeline performs best here.
---
## MUE — Universität Münster
| Concept | CMS | Share |
|---------|-----|-------|
| **Faculties** | IMPERIA 11.7.0 | 50.00% |
| | IMPERIA 11.5.4 | 30.00% |
| | TYPO3 CMS | 13.33% |
| | Mura CMS 6.2 | 3.33% |
| | IMPERIA 11.4.3 | 3.33% |
| **Institutes** | TYPO3 CMS | 42.03% |
| | IMPERIA 11.7.0 | 28.26% |
| | IMPERIA 11.5.4 | 25.72% |
| | Mura CMS 6.2 | 1.45% |
| | IMPERIA 11.4.3 | 1.45% |
| **Chairs** | IMPERIA 11.5.4 | 47.91% |
| | IMPERIA 11.7.0 | 38.08% |
| | Mura CMS 6.2 | 6.90% |
| | TYPO3 CMS | 2.72% |
| | WordPress | ~0.84% |
| | Drupal 9 | 0.21% |
> Münster is mixed: faculties lean toward IMPERIA, but institutes are majority TYPO3. This split CMS environment complicates URL pattern matching — the algorithm may find faculties on IMPERIA but miss TYPO3-hosted institutes (or vice versa).
---
## TUD — TU Dortmund
| Concept | CMS | Share |
|---------|-----|-------|
| **Faculties** | TYPO3 CMS | 100.00% |
| **Institutes** | TYPO3 CMS | 100.00% |
| **Chairs** | TYPO3 CMS | 99.75% |
| | Infopark CMS Fiona | 0.25% |
> TUD is **entirely TYPO3** — even more homogeneous than UDE. Yet TUD shows the worst pipeline results. This means the problem is **not CMS diversity** but rather how TYPO3 is configured at TUD — likely deep nesting, JavaScript navigation, or non-standard URL conventions.
---
## Interpretation
| University | CMS Homogeneity | Pipeline Performance | Interpretation |
|-----------|----------------|---------------------|---------------|
| UDE | High (IMPERIA) | Good | IMPERIA structure matches heuristic assumptions |
| MUE | Mixed (IMPERIA + TYPO3) | Medium | Mixed CMS creates uneven coverage |
| TUD | High (TYPO3) | Poor | TYPO3 at TUD uses conventions the heuristic can't parse |
---
## Takeaway
> **CMS homogeneity does not guarantee pipeline success.** What matters is whether the CMS configuration matches the heuristic's URL pattern expectations. TYPO3 at UDE (16%) causes no problems; TYPO3 at TUD (100%) is nearly opaque to the pipeline.
This suggests that future improvements should focus on **CMS-specific adapters** or **learning URL patterns per CMS version**, rather than generic heuristics.
---
## Related Notes
← [[09_Results_Summary]]
← [[00_Project_Overview]]
@@ -0,0 +1,137 @@
# 11 — LLM Dataset & Extended LLM Classification
> **Date:** January 6, 2025
> **Branch:** `dev_theo_2`
> **Related:** [[08_LLM_Approach]] | [[12_Reasoning_and_Features]] | [[00_Project_Overview]]
---
## What Changed
A proper **LLM evaluation dataset** was created for systematic testing — rather than running the full pipeline and measuring end-to-end, pages are now classified in isolation.
---
## Dataset Construction (`llm_dataset.json`)
| Source | Content |
|--------|---------|
| Faculty URLs | UDE, Münster, Dortmund + other universities |
| Institute URLs | UDE, Münster |
| Chair URLs | UDE, Münster |
| Other URLs | Non-concept pages from the database |
Per page, the following features are stored:
- `url`, `pagedepth`, `headings`, `text` (via Trafilatura), `kind`, `label`
This enables **offline evaluation** without re-running the full crawler.
---
## LLaMA 3 Results
### Faculties (n=2997)
> **Prompt** See "LLaMA — Faculty Homepage" in [[16_Prompts_Reference]]
| Metric | Value |
|--------|-------|
| True Positives | 229 |
| True Negatives | 2393 |
| False Positives | 327 |
| False Negatives | 10 |
| Wrong format | 38 |
| **Precision** | **0.412** |
| **Recall** | **0.958** |
| **F1** | **0.576** |
### Institutes & Chairs (n=2997)
> **Prompt** See "LLaMA — Institute or Chair Homepage" in [[16_Prompts_Reference]]
| Metric | Value |
|--------|-------|
| True Positives | 756 |
| True Negatives | 1523 |
| False Positives | 559 |
| False Negatives | 116 |
| Wrong format | 43 |
| **Precision** | **0.575** |
| **Recall** | **0.867** |
| **F1** | **0.691** |
> LLaMA has **extremely high recall but poor precision** — it classifies most pages as positive. Wrong label format (~1.3–1.4% of outputs) shows the model sometimes ignores the "answer only Positive/Negative" instruction.
---
## GPT-4o-mini Results
### Faculties (n=2995)
> **Prompt** See "OpenAI — Faculty Homepage" in [[16_Prompts_Reference]]
| Metric | Value |
|--------|-------|
| True Positives | 150 |
| True Negatives | 2694 |
| False Positives | 61 |
| False Negatives | 89 |
| Wrong format | 1 |
| **Precision** | **0.711** |
| **Recall** | **0.628** |
| **F1** | **0.667** |
### Institutes & Chairs (n=2994)
> **Prompt** See "OpenAI — Institute or Chair Homepage" in [[16_Prompts_Reference]]
| Metric | Value |
|--------|-------|
| True Positives | 203 |
| True Negatives | 2018 |
| False Positives | 93 |
| False Negatives | 679 |
| **Precision** | **0.686** |
| **Recall** | **0.230** |
| **F1** | **0.345** |
> GPT-4o-mini is the **opposite** of LLaMA: much better precision, but recall for institutes/chairs collapses to 0.23 — it misses ~75% of real instances.
---
## Model Comparison
| Model | Task | Precision | Recall | F1 |
|-------|------|-----------|--------|----|
| LLaMA 3 | Faculties | 0.412 | **0.958** | 0.576 |
| GPT-4o-mini | Faculties | **0.711** | 0.628 | **0.667** |
| LLaMA 3 | Inst. + Chairs | 0.575 | **0.867** | **0.691** |
| GPT-4o-mini | Inst. + Chairs | **0.686** | 0.230 | 0.345 |
> For **faculty detection**, GPT-4o-mini is strictly better (higher F1, balanced precision/recall).
> For **institute/chair detection**, LLaMA leads in F1, but at the cost of 559 false positives.
---
## FLAN-T5 on Pipeline (for comparison)
FLAN-T5 was also tested integrated into the live pipeline (not just on the dataset):
### UDE
| Concept | Predictions | Truth | Precision | Recall | F1 |
|---------|------------|-------|-----------|--------|----|
| FACULTY | 10 | 12 | 0.800 | 0.667 | **0.727** |
| INSTITUTE | 14 | 45 | 0.786 | 0.244 | **0.373** |
| CHAIR | 267 | 423 | 0.839 | 0.494 | **0.622** |
### Münster
| Concept | Predictions | Truth | Precision | Recall | F1 |
|---------|------------|-------|-----------|--------|----|
| FACULTY | 44 | 15 | 0.316 | 0.800 | **0.453** |
| INSTITUTE | 151 | 135 | 0.667 | 0.696 | **0.681** |
| CHAIR | 384 | 428 | 0.615 | 0.544 | **0.577** |
> FLAN-T5 integrated into the pipeline produces reasonable chair results (0.62 UDE, 0.58 MUE) but struggles with institutes (0.37 UDE) and faculties at Münster (0.45). The precision/recall imbalance from [[07_DistilBERT_and_FLAN]] persists.
---
## Next
→ [[12_Reasoning_and_Features]] — New idea: extract structured reasoning from LLM explanations and feed that into a classical classifier
@@ -0,0 +1,149 @@
# 12 — Reasoning Pipeline & Feature Extraction
> **Date:** January 2025
> **Related:** [[11_LLM_Dataset_and_Classification]] | [[13_Aggregator_Evaluation]]
---
## Motivation
LLMs give binary yes/no answers with inconsistent precision/recall. New idea:
> **Let the LLM explain its reasoning, extract structured features from that explanation, then classify with a traditional ML model (SVM) on those features.**
This separates the "understanding" step (LLM) from the "decision" step (SVM), potentially getting the best of both worlds.
---
## Pipeline
```
Page content
└─→ LLM: Is this a faculty/institute/chair landing page? (Yes/No)
└─→ LLM: Certainty score (1–10)
└─→ LLM: Explain why
└─→ LLM: Is this explanation convincing? (Yes/No)
└─→ URL classification question
└─→ Extract features from reasoning text
└─→ SVM classifier
```
---
## Step 1: LLM Questions (LLaMA)
Four questions were asked per page:
| # | Question | Expected Output |
|---|---------|----------------|
| Q1 | "Yes or no, is this page the welcome/homepage of a [faculty / institute/chair] at a university?" | Yes / No |
| Q2 | "On a scale of 1–10, how certain are you? Return only the number." | Float |
| Q3 | "Please explain why this page is [or is not] the homepage of a [faculty / institute/chair]." | Free text |
| Q4 | "Yes or no, is the following argumentation convincing?" (Q3 fed back) | Yes / No |
Additionally, the **URL alone** was classified:
> "Yes or no, does this URL look like it points to a welcome page of a research group, department, or chair?"
---
## Step 2: Feature Extraction from Reasoning Text
The LLM explanations (Q3) were parsed using regex to extract structured topic labels in the format `"n. **Title**: Description"`.
**2254 total extracted features.** Most frequent:
| Feature | Count |
|---------|-------|
| contact information | 102 |
| welcome message | 75 |
| news and events | 72 |
| institutional branding | 64 |
| overview of the faculty | 46 |
| navigation menu | 39 |
| navigation structure | 39 |
| layout and design | 35 |
| language options | 24 |
| title and greeting | 23 |
---
## Step 3: SVM on Binary Feature Vectors
A **subset of 12 features** was selected and binarized (1 = present in reasoning, 0 = absent):
```
'lack of introductory content'
'navigation menu'
'contact information'
'university affiliation'
'research focus'
'institutional affiliation'
'news and updates'
'welcome message'
'navigation'
'group name'
'footer content'
'specific topic focus'
```
**Train/test split: 75/25**
### SVM Results
| Class | Precision | Recall | F1 | Support |
|-------|-----------|--------|----|---------|
| 0 (not landing page) | 0.89 | 0.60 | **0.72** | 55 |
| 1 (landing page) | 0.71 | 0.93 | **0.80** | 57 |
| **Accuracy** | | | **0.77** | 112 |
| Macro avg | 0.80 | 0.76 | **0.76** | 112 |
> 0.77 overall accuracy — decent, but this is on a small test set and only 12 binary features derived from LLM reasoning.
---
## Step 4: Sentiment Score as Additional Feature
**Idea:** Count sentiment polarity on the `**Headline**` sections extracted from LLM reasoning, both full reasoning and first-sentence-only.
Outputs appended to:
- `sentiment_institutes_chairs.json`
- `sentiment_institutes_chairs_only_first_sentences.json`
### Sentiment-augmented Classification Results (Analysis mode)
These results use a different evaluation setup (larger datasets, full "analysis" pipeline):
#### Faculty Analysis
| Model | n | TP | TN | FP | FN | **Precision** | **Recall** | **F1** |
|-------|---|----|----|----|----|--------------|-----------|------|
| (analysis pipeline) | 2999 | 149 | 2215 | 543 | 92 | 0.215 | 0.618 | **0.319** |
#### Institute & Chair Analysis
> **Prompt** See "LLaMA — Analysis (Reasoning) Institutes & Chairs" in [[16_Prompts_Reference]]
>**Prompt** See "OpenAI — Analysis (Reasoning) Institutes & Chairs" in [[16_Prompts_Reference]]
| Model | n | TP | TN | FP | FN | **Precision** | **Recall** | **F1** |
|-------|---|----|----|----|----|--------------|-----------|------|
| OpenAI | 11001 | 205 | 9466 | 448 | 882 | 0.314 | 0.189 | **0.236** |
| LLaMA | 11001 | 744 | 6395 | 3519 | 343 | 0.175 | 0.684 | **0.278** |
| LLaMA + Trafilatura | 9168 | 618 | 6419 | 1778 | 353 | 0.258 | 0.636 | **0.367** |
| Wuppertal only (LLaMA) | 1820 | 74 | 1358 | 349 | 39 | 0.175 | 0.655 | **0.276** |
---
## Observations
- The **reasoning → feature extraction → SVM** approach achieves 0.77 accuracy on the small test set, but this is not directly comparable to F1 on the full dataset
- When scaled up to the full `llm_dataset.json`, the analysis pipeline performs **worse** than the direct LLM classification from [[11_LLM_Dataset_and_Classification]]
- LLaMA + Trafilatura content gives the best F1 (0.367) for institutes/chairs in the analysis mode, but this is still far from useful
- The sentiment scoring idea doesn't appear to provide meaningful signal — results don't improve after adding it
> **The reasoning pipeline is an interesting direction but doesn't outperform simpler approaches.** Feature extraction from free-text LLM explanations introduces noise rather than reducing it.
---
## Next
→ [[13_Aggregator_Evaluation]] — Step back from classification entirely and evaluate the aggregator-finding part of the pipeline in isolation
@@ -0,0 +1,94 @@
# 13 — Aggregator Finding: Isolated Evaluation
> **Date:** January 2025
> **Related:** [[12_Reasoning_and_Features]] | [[14_Landing_Page_Identification]] | [[01_Initial_Pipeline]]
---
## Motivation
All previous evaluations measured end-to-end pipeline quality (faculty/institute/chair F1). But the pipeline has two distinct sub-tasks:
1. **Find aggregator pages** (listing pages that link to concept instances)
2. **Classify concept pages** from the aggregators' children
Failures in either step drag down the final score, making it hard to tell which part is the bottleneck. This evaluation isolates **step 1** and measures it directly.
---
## Setup
- Input: single main university homepage URL
- Pipeline options tested: baseline (none), disambiguate, direct, indirect, meta, **full** (all combined)
- No LLM used in this evaluation
- Four universities: **UDE, Münster, Dortmund, Wuppertal**
---
## Initial Raw Results (debugging run)
These results came from a preliminary run and showed lower numbers than the cleaned results below:
| University | TP | FP | FN | Precision | Recall | F1 |
|-----------|----|----|-----|-----------|--------|----|
| UDE | 110 | 83 | 23 | 0.570 | 0.827 | **0.675** |
| Münster | 98 | 118 | 33 | 0.454 | 0.748 | **0.565** |
| Dortmund | 105 | 35 | 18 | 0.750 | 0.854 | **0.798** |
> Note: Wuppertal prediction file couldn't be loaded in this run.
---
## Full Comparison: All Pipeline Configurations
### F1-Scores per Setting and University
| Setting | UDE | Münster | Dortmund | Wuppertal |
|---------|-----|---------|----------|-----------|
| **Baseline** | 0.775 | 0.862 | 0.790 | 0.820 |
| Only disambiguate | 0.775 | 0.864 | 0.790 | 0.820 |
| Only direct | 0.788 | **0.890** | 0.790 | 0.825 |
| Only indirect | 0.775 | 0.862 | 0.790 | 0.820 |
| **Only meta** | **0.882** | 0.864 | 0.798 | **0.839** |
| **Full (all)** | **0.882** | **0.889** | 0.798 | 0.841 |
*Bold = best or tied-best per university. Values shown in paper are marked below.*
### Detailed Results — Full Configuration
| University | TP | FP | FN | Total | Precision | Recall | F1 |
|-----------|----|----|-----|-------|-----------|--------|----|
| UDE | 162 | 31 | 12 | 205 | 0.839 | 0.931 | **0.883** |
| Münster | 190 | 26 | 21 | 237 | 0.880 | 0.900 | **0.890** |
| Dortmund | 105 | 35 | 18 | 158 | 0.750 | 0.854 | **0.798** |
| Wuppertal | 109 | 34 | 7 | 150 | 0.762 | 0.940 | **0.842** |
---
## Key Findings
- **The `meta` option alone delivers most of the gain** — matching or nearly matching the full pipeline for UDE (0.882) and Wuppertal (0.839)
- **`only_direct` is best for Münster** as a single option (0.890), slightly better than meta
- **Combining all options (Full) achieves the best or tied-best F1** for every university
- Aggregator finding is **already quite good** — F1 of 0.80–0.89 across four universities
> **The bottleneck is not aggregator detection** — the pipeline finds listing pages reliably. The problem lies in classifying the *children* of those aggregators correctly. This reframes where further work should focus.
---
## Options Explained
| Option | What it does |
|--------|-------------|
| `baseline` | Default heuristic aggregator search |
| `disambiguate` | Resolves children assigned to wrong concept |
| `direct` | Follows direct links from aggregator candidates |
| `indirect` | Follows indirect/transitive links |
| `meta` | Uses metadata/page attributes to find aggregators |
| `full` | All options combined |
---
## Next
→ [[14_Landing_Page_Identification]] — Given that aggregators are found well, can we do better at classifying the concept pages themselves?
@@ -0,0 +1,103 @@
# 14 — Landing Page Identification (Fine-tuned Models)
> **Date:** January 2025
> **Related:** [[13_Aggregator_Evaluation]] | [[15_Paper_Results]] | [[07_DistilBERT_and_FLAN]]
---
## Motivation
[[13_Aggregator_Evaluation]] showed that aggregator finding is already good (F1 ~0.80–0.89). The remaining gap is in **identifying which child pages are actual concept landing pages**.
This experiment fine-tunes transformer models specifically for this task using the `llm_dataset.json` from [[11_LLM_Dataset_and_Classification]], then evaluates in two settings:
- **Single-university (75/25 split):** train and test on the same university
- **Cross-university:** train on 3 universities, test on the held-out one
Only the text content of pages is used (no headings, no URL, no page depth) — a cleaner, more generalizable input.
---
## Models Evaluated
| Model | Parameters | Notes |
|-------|-----------|-------|
| `distilbert-base-uncased` | ~66M | Smaller, faster |
| `flan-t5-base` | ~250M | Seq2seq, instruction-following |
| `flan-t5-large` | ~780M | Larger variant |
> Note: LLMs (LLaMA, GPT-4o-mini) were **not** fine-tuned — only "zero-shot" results exist for them. Fine-tuning only applied to the base models above.
---
## Results — Macro F1 Scores
### DistilBERT-base-uncased
| University | Single (75/25) | Cross-university | Δ |
|-----------|----------------|-----------------|---|
| UDE | 0.70 | 0.61 | −0.09 |
| Münster | 0.68 | 0.65 | −0.03 |
| Dortmund | 0.60 | 0.57 | −0.03 |
| Wuppertal | 0.62 | 0.55 | −0.07 |
### FLAN-T5-base
| University | Single (75/25) | Cross-university | Δ |
|-----------|----------------|-----------------|---|
| UDE | 0.72 | 0.69 | −0.03 |
| Münster | **0.79** | 0.68 | −0.11 |
| Dortmund | 0.65 | 0.65 | 0.00 |
| Wuppertal | 0.62 | **0.66** | +0.04 |
### FLAN-T5-large
| University | Single (75/25) | Cross-university | Δ |
|-----------|----------------|-----------------|---|
| UDE | **0.79** | 0.65 | −0.14 |
| Münster | **0.83** | **0.71** | −0.12 |
| Dortmund | **0.72** | **0.66** | −0.06 |
| Wuppertal | **0.69** | 0.68 | −0.01 |
---
## Summary: Best Results per University
| University | Best Single Model | Best Single F1 | Best Cross Model | Best Cross F1 |
|-----------|-----------------|---------------|-----------------|--------------|
| UDE | flan-t5-large | **0.79** | flan-t5-base | **0.69** |
| Münster | flan-t5-large | **0.83** | flan-t5-large | **0.71** |
| Dortmund | flan-t5-large | **0.72** | flan-t5-base / large | **0.66** |
| Wuppertal | flan-t5-large | **0.69** | flan-t5-large | **0.68** |
---
## Observations
- **FLAN-T5-large consistently outperforms** both distilbert and flan-t5-base
- **Cross-university generalization is reasonable** — the drop from single to cross is typically 0.03–0.14 F1 points, much smaller than naive expectations
- **Dortmund is the hardest** university for all models in both settings
- **Wuppertal shows an unusual pattern** — flan-t5-base actually *improves* in cross-university vs. single (+0.04), suggesting Wuppertal's pages are more similar to other universities than to themselves across the train/test split
- flan-t5-large is the **most stable** in the cross-university setting (smallest F1 drop)
---
## What's Shown in the OrgMiner Paper
Only **single-setting results** are reported in the paper. Fine-tuned base models only — LLMs are shown as zero-shot baselines.
---
## Context in the Overall Architecture
```
Pipeline
├── Aggregator Finding → F1 ≈ 0.80–0.89 ✅ Solved well (see note 13)
└── Landing Page ID → Macro F1 ≈ 0.62–0.83 ⚠ Best with flan-t5-large
```
---
## Next
→ [[15_Paper_Results]] — How all of this comes together in the final OrgMiner paper
@@ -0,0 +1,62 @@
# 15 — Paper Results (OrgMiner)
> **Related:** [[13_Aggregator_Evaluation]] | [[14_Landing_Page_Identification]] | [[09_Results_Summary]] | [[00_Project_Overview]]
---
## What Goes Into the Paper
The project culminates in the **OrgMiner paper**, which evaluates two sub-tasks separately:
| Sub-task | Notes |
|---------|-------|
| **Aggregator Finding** | All pipeline options (baseline, disambiguate, direct, indirect, meta, full) across 4 universities |
| **Landing Page Identification** | Fine-tuned distilbert / flan-t5-base / flan-t5-large, single-university setting only |
LLMs (LLaMA, GPT) are shown as zero-shot comparison points, **not** fine-tuned.
---
## Aggregator Finding — Published Results
*From [[13_Aggregator_Evaluation]]:*
| Setting | UDE | Münster | Dortmund | Wuppertal |
|---------|-----|---------|----------|-----------|
| Baseline | 0.775 | 0.862 | 0.790 | 0.820 |
| Only indirect | 0.775 | 0.862 | 0.790 | 0.820 |
| Only meta | **0.882** | 0.864 | 0.798 | **0.839** |
| Full | **0.882** | **0.889** | 0.798 | 0.841 |
---
## Landing Page Identification — Published Results
*Single-university setting only (from [[14_Landing_Page_Identification]]):*
| Model | UDE | Münster | Dortmund | Wuppertal |
|-------|-----|---------|----------|-----------|
| distilbert-base-uncased | 0.70 | 0.68 | 0.60 | 0.62 |
| flan-t5-base | 0.72 | 0.79 | 0.65 | 0.62 |
| **flan-t5-large** | **0.79** | **0.83** | **0.72** | **0.69** |
---
## The Full Research Journey in One Table
| Phase | Approach | Best Result | Limitation Found |
|-------|---------|-------------|-----------------|
| [[01_Initial_Pipeline]] | BFS heuristic | UDE chairs F1=0.69 | Doesn't generalize to TUD/MUE |
| [[02_Baseline_Evaluation]] | Baseline eval | UDE faculties F1=1.0 | TUD nearly all zeros |
| [[03_ML_Approach]] | SGDClassifier | Balanced: F1=0.97 offline | Kills recall when integrated |
| [[04_Expanding_Universities]] | +10 universities | Wuppertal/Dortmund work | 6+ universities return nothing |
| [[05_Geometry_and_Fixes]] | Geometry + depth | MUE faculties +0.36 | Chairs regress |
| [[06_Width_Search]] | DFS fallback | TUD faculties +0.20 | Hurts institute/chair precision |
| [[07_DistilBERT_and_FLAN]] | Neural classifiers | FLAN-T5 F1=0.72 | Precision/recall trade-off |
| [[08_LLM_Approach]] | LLaMA zero-shot | UDE all concepts best | Fails on Dortmund entirely |
| [[11_LLM_Dataset_and_Classification]] | Dataset + GPT-4o-mini | GPT fac. F1=0.667 | GPT inst/chair recall=0.23 |
| [[12_Reasoning_and_Features]] | LLM reasoning → SVM | SVM accuracy=0.77 | Doesn't scale |
| [[13_Aggregator_Evaluation]] | Isolate aggregator task | Full F1=0.88 UDE | Bottleneck is landing page ID |
| [[14_Landing_Page_Identification]] | Fine-tuned flan-t5-large | Münster F1=0.83 | Cross-uni drop: −0.03 to −0.14 |
@@ -0,0 +1,351 @@
# 16 — LLM Prompts Reference
> **Related:** [[08_LLM_Approach]] | [[11_LLM_Dataset_and_Classification]] | [[12_Reasoning_and_Features]] | [[13_Aggregator_Evaluation]]
---
## Overview
| Prompt | Model | Task |
|--------|-------|------|
| [[#Early LLaMA Prompts (with url and found_link_text_flag)#Faculty — System Prompt\|Early LLaMA — Faculty (system)]] | LLaMA | System prompt with url + found_link_text_flag |
| [[#Early LLaMA Prompts (with url and found_link_text_flag)#Faculty — User Prompt\|Early LLaMA — Faculty (user)]] | LLaMA | User prompt, 3 few-shot examples |
| [[#Early LLaMA Prompts (with url and found_link_text_flag)#Institute / Chair — System Prompt\|Early LLaMA — Inst/Chair (system)]] | LLaMA | System prompt with url + found_link_text_flag |
| [[#Early LLaMA Prompts (with url and found_link_text_flag)#Institute / Chair — User Prompt\|Early LLaMA — Inst/Chair (user)]] | LLaMA | User prompt, 3 few-shot examples |
| [[#LLaMA — Faculty Homepage]] | LLaMA | Classify page as faculty homepage or not |
| [[#LLaMA — Institute or Chair Homepage]] | LLaMA | Classify page as institute/chair homepage or not |
| [[#OpenAI — Faculty Homepage]] | GPT-4o-mini | Classify page as faculty homepage or not |
| [[#OpenAI — Institute or Chair Homepage]] | GPT-4o-mini | Classify page as institute/chair homepage or not |
| [[#LLaMA — Analysis (Reasoning) Institutes & Chairs]] | LLaMA | Text-only classification for reasoning pipeline |
| [[#OpenAI — Analysis (Reasoning) Institutes & Chairs]] | GPT-4o-mini | Text-only classification for reasoning pipeline |
| [[#Aggregator Evaluation]] | Any | Classify page as aggregator (list of faculties/institutes/chairs) |
---
## Early LLaMA Prompts (with `url` and `found_link_text_flag`)
> These are the **original** LLaMA prompts from [[08_LLM_Approach]] — an earlier version that includes two additional features (`url` and `found_link_text_flag`) not present in the later prompts above. Split into system + user prompt.
### Faculty — System Prompt
```
You are a classification assistant. You will be given attributes of university webpages as key value pairs.
These attributes include:
- 'url': url of a web page
- 'pagedepth': distance of a webpage from the main university homepage. A lower page depth indicates a higher probability of a faculty landing page, while a higher page depth indicates a lower probability.
- 'found_link_text_flag': whether there exists a text in previous webpages that also pointed to the current webpage and also exists on the currently considering webpage.
- 'headings': the headings of the webpage. This attribute is important.
- 'text': the extracted content of a webpage.
- 'label': whether it is a faculty landing webpage or not.
You will use these attributes to determine, whether a webpage attributes is 0 (no faculty main landing page) or 1 (is a faculty main landing page).
You will answer only with Positive or Negative.
```
### Faculty — User Prompt
```
Classify the following webpages as faculty landing page (positive) or no faculty landing page (negative):
Here are some Examples:
1. url: '{url_faculty[0]}', pagedepth: '{pagedepth_faculty[0]}', found_link_text_flag: '{found_link_text_flag_faculty[0]}', headings: '{headings_faculty[0]}', text: '{text_faculty_single}' -> Positive (label: 1)
2. url: '{url_others[0]}', pagedepth: '{pagedepth_others[0]}', found_link_text_flag: '{found_link_text_flag_others[0]}', headings: '{headings_others[0]}', text: '{text_others_single}' -> Negative (label: 0)
3. url: '{example_institute_url}', pagedepth: '{example_institute_pagedepth}', found_link_text_flag: '{example_institute_found_link_text_flag}', headings: '{example_institute_headings}', text: '{example_institute_text_content_single}' -> Negative (label: 0)
Now classify this message:
{text_single}
```
**Few-shot examples:** 1 faculty (Positive), 1 other (Negative), 1 institute (Negative)
---
### Institute / Chair — System Prompt
```
You are a classification assistant. You will be given attributes of university webpages as key value pairs.
These attributes include:
- 'url': url of a web page
- 'pagedepth': distance of a webpage from the main university homepage.
- 'found_link_text_flag': whether there exists a text in previous webpages that also pointed to the current webpage and also exists on the currently considering webpage.
- 'headings': the headings of the webpage. This attribute is important.
- 'text': the extracted content of a webpage.
- 'label': whether it is a institute or chair landing webpage or not.
You will use these attributes to determine, whether a webpage attributes is 0 (no institute or chair main landing page) or 1 (is a institute or chair main landing page).
You will answer only with Positive or Negative.
```
### Institute / Chair — User Prompt
```
Classify the following webpages as institute landing page (positive) or chair landing page (positive) or no institute and chair landing page (negative):
Here are some Examples:
1. url: '{url_institutes[0]}', pagedepth: '{pagedepth_institutes[0]}', found_link_text_flag: '{found_link_text_flag_institutes[0]}', headings: '{headings_institutes[0]}', text: '{text_institutes_single[0]}' -> Positive (label: 1)
2. url: '{url_chairs[0]}', pagedepth: '{pagedepth_chairs[0]}', found_link_text_flag: '{found_link_text_flag_chairs[0]}', headings: '{headings_chairs[0]}', text: '{text_chairs_single[0]}' -> Positive (label: 1)
3. url: '{url_others[0]}', pagedepth: '{pagedepth_others[0]}', found_link_text_flag: '{found_link_text_flag_others[0]}', headings: '{headings_others[0]}', text: '{text_others_single}' -> Negative (label: 0)
Now classify this message:
{text_single}
```
**Few-shot examples:** 1 institute (Positive), 1 chair (Positive), 1 other (Negative)
**Note:** both positive examples are numbered `1` in the original source — preserved as-is.
---
## LLaMA — Faculty Homepage
```
You are a classification assistant, specialized in idenfiying university faculty homepages.
You will be given attributes of university webpages as key value pairs.
These attributes include:
- 'pagedepth': The distance of the given webpage from the base URL of the university. The lower depth indicates, that a webpage is closer to the base URL, which indicates a faculty homepage. A higher depth, shows the webpages further down the web page hierarchy, indicating non-faculty webpages such as insitutes, news , chairs, ...
- 'headings': The headings of the given webpage (the single headings are separated by a ';'). This attribute is important . Here the words such as welcome, faculty or other similar keywords are a clear indication of a faculty homepage.
- 'text': The extracted text content of the given webpage. Faculty home pages often include relevant keywords such as 'welcome to the faculty X', or 'home page of faculty X' and often include text to their chairs or insitutes or other high level information such as faculty news. Therefore consider that the faculties contains these types of information.
Here are some examples of faculty homepages (Positive) and non-faculty homepages (Negative):
1.
- pagedepth: '{example_pagedepth_faculty}',
- headings: '{example_headings_faculty}',
- text: '{text_faculty_single}'
-> Positive
2.
- pagedepth: '{example_pagedepth_others}',
- headings: '{example_headings_others}',
- text: '{text_others_single}'
-> Negative
3.
- pagedepth: '{example_pagedepth_institute}',
- headings: '{example_headings_institute}',
- text: '{example_institute_text_content_single}'
-> Negative
You will use these attributes and examples to determine, whether a webpage attributes are Negative (no faculty main homepage) or Positive (is a faculty main homepage).
Please note that only faculty homepages are searched.
Homepages of institutes (Example 3) or chairs are to be classified as 'Negative'.
You will answer only with Positive or Negative.
```
**Few-shot examples:** 1 faculty (Positive), 1 other (Negative), 1 institute (Negative)
---
## LLaMA — Institute or Chair Homepage
```
You are a classification assistant, specialized in idenfiying university institute and chair homepages.
You will be given attributes of university webpages as key value pairs.
These attributes include:
- 'pagedepth': The distance of the given webpage from the base URL of the university.
- 'headings': The headings of the given webpage (the single headings are separated by a ';'). This attribute is important . Here the words such as welcome, institute, chair or other similar keywords are a clear indication of a institute or chair homepage.
- 'text': The extracted text content of the given webpage. Institute/ chair homepages often include relevant keywords such as 'welcome to the institute X' or 'homepage of chair X' and often include text to their members or other high level information such as institute/ chair news. Therefore consider that the institutes or chairs contains these types of information.
Here are some examples of institute homepages (Positive), chair homepages (positive) and non-institute/ non-chair homepages (Negative):
1.
- pagedepth: '{example_pagedepth_institute}',
- headings: '{example_headings_institute}',
- text: '{text_institutes_single}'
-> Positive
2.
- pagedepth: '{example_pagedepth_chair}',
- headings: '{example_headings_chair}',
- text: '{text_chairs_single}'
-> Positive
3.
- pagedepth: '{example_pagedepth_others}',
- headings: '{example_headings_others}',
- text: '{text_others_single}'
-> Negative
You will use these attributes and examples to determine, whether a webpage attributes are Negative (no institute or chair main homepage) or Positive (is a institute or chair main homepage).
Please note that only institute and chair homepages are searched.
Homepages of faculties are to be classified as 'Negative'.
You will answer only with Positive or Negative.
```
**Few-shot examples:** 1 institute (Positive), 1 chair (Positive), 1 other (Negative)
---
## OpenAI — Faculty Homepage
```
You are a classification assistant, specialized in idenfiying university faculty homepages.
You will be given attributes of university webpages as key value pairs.
These attributes include:
- 'pagedepth': The distance of the given webpage from the base URL of the university. The lower depth indicates, that a webpage is closer to the base URL, which indicates a faculty homepage. A higher depth, shows the webpages further down the web page hierarchy, indicating non-faculty webpages such as insitutes, news , chairs, ...
- 'headings': The headings of the given webpage (the single headings are separated by a ';'). This attribute is important . Here the words such as welcome, faculty or other similar keywords are a clear indication of a faculty homepage.
- 'text': The extracted text content of the given webpage. Faculty home pages often include relevant keywords such as 'welcome to the faculty X', or 'home page of faculty X' and often include text to their chairs or insitutes or other high level information such as faculty news. Therefore consider that the faculties contains these types of information.
Here are some examples of faculty homepages (Positive) and non-faculty homepages (Negative):
1.
- pagedepth: '{example_pagedepth_faculty}',
- headings: '{example_headings_faculty}',
- text: '{example_text_faculty}'
-> Positive
2.
- pagedepth: '{example_pagedepth_faculty2}',
- headings: '{example_headings_faculty2}',
- text: '{example_text_faculty2}'
-> Positive
3.
- pagedepth: '{example_pagedepth_others}',
- headings: '{example_headings_others}',
- text: '{example_text_others}'
-> Negative
4.
- pagedepth: '{example_pagedepth_others2}',
- headings: '{example_headings_others2}',
- text: '{example_text_others2}'
-> Negative
5.
- pagedepth: '{example_pagedepth_institute}',
- headings: '{example_headings_institute}',
- text: '{example_text_institute}'
-> Negative
You will use these attributes and examples to determine, whether a webpage attributes are Negative (no faculty main homepage) or Positive (is a faculty main homepage).
Please note that only faculty homepages are searched.
Homepages of institutes (Example 5) or chairs are to be classified as 'Negative'.
You will answer only with Positive or Negative.
```
**Few-shot examples:** 2 faculty (Positive), 2 other (Negative), 1 institute (Negative) — more examples than LLaMA version
---
## OpenAI — Institute or Chair Homepage
```
You are a classification assistant, specialized in idenfiying university institute and chair homepages.
You will be given attributes of university webpages as key value pairs.
These attributes include:
- 'pagedepth': The distance of the given webpage from the base URL of the university.
- 'headings': The headings of the given webpage (the single headings are separated by a ';'). This attribute is important . Here the words such as welcome, institute, chair or other similar keywords are a clear indication of a institute or chair homepage.
- 'text': The extracted text content of the given webpage. Institute/ chair homepages often include relevant keywords such as 'welcome to the institute X' or 'homepage of chair X' and often include text to their members or other high level information such as institute/ chair news. Therefore consider that the institutes or chairs contains these types of information.
Here are some examples of institute homepages (Positive), chair homepages (positive) and non-institute/ non-chair homepages (Negative):
1.
- pagedepth: '{example_pagedepth_institute}',
- headings: '{example_headings_institute}',
- text: '{example_text_institute}'
-> Positive
2.
- pagedepth: '{example_pagedepth_institute2}',
- headings: '{example_headings_institute2}',
- text: '{example_text_institute2}'
-> Positive
3.
- pagedepth: '{example_pagedepth_chair}',
- headings: '{example_headings_chair}',
- text: '{example_text_chair}'
-> Positive
4.
- pagedepth: '{example_pagedepth_chair2}',
- headings: '{example_headings_chair2}',
- text: '{example_text_chair2}'
-> Positive
5.
- pagedepth: '{example_pagedepth_others}',
- headings: '{example_headings_others}',
- text: '{example_text_others}'
-> Negative
6.
- pagedepth: '{example_pagedepth_others2}',
- headings: '{example_headings_others2}',
- text: '{example_text_others2}'
-> Negative
You will use these attributes and examples to determine, whether a webpage attributes are Negative (no institute or chair main homepage) or Positive (is a institute or chair main homepage).
Please note that only institute and chair homepages are searched.
Homepages of faculties are to be classified as 'Negative'.
You will answer only with Positive or Negative.
```
**Few-shot examples:** 2 institute (Positive), 2 chair (Positive), 2 other (Negative) — more examples than LLaMA version
---
## LLaMA — Analysis (Reasoning) Institutes & Chairs
> Used in the [[12_Reasoning_and_Features]] pipeline. Text-only input — no pagedepth or headings.
```
You are a classification assistant, specialized in idenfiying university institute and chair homepages.
You will be given the extracted text content of the given webpage. Institute/ chair homepages often include relevant keywords such as 'welcome to the institute X' or 'homepage of chair X' and often include text to their members or other high level information such as institute/ chair news. Therefore consider that the institutes or chairs contains these types of information.
You get that text as a key value pair.
Here are some examples of institute homepages (Positive), chair homepages (positive) and non-institute/ non-chair homepages (Negative):
1.
- text: '{text_institutes_single}'
-> Positive
2.
- text: '{text_chairs_single}'
-> Positive
3.
- text: '{text_others_single}'
-> Negative
You will use these texts and examples to determine, whether a webpage attributes are Negative (no institute or chair main homepage) or Positive (is a institute or chair main homepage).
Please note that only institute and chair homepages are searched.
Homepages of faculties are to be classified as 'Negative'.
You will answer only with Positive or Negative.
```
**Few-shot examples:** 1 institute (Positive), 1 chair (Positive), 1 other (Negative)
**Key difference vs. main LLaMA prompt:** no `pagedepth` or `headings` — text only
---
## OpenAI — Analysis (Reasoning) Institutes & Chairs
> Used in the [[12_Reasoning_and_Features]] pipeline. Text-only input — no pagedepth or headings.
```
You are a classification assistant, specialized in idenfiying university institute and chair homepages.
You will be given the extracted text content of the given webpage. Institute/ chair homepages often include relevant keywords such as 'welcome to the institute X' or 'homepage of chair X' and often include text to their members or other high level information such as institute/ chair news. Therefore consider that the institutes or chairs contains these types of information.
You get that text as a key value pair.
Here are some examples of institute homepages (Positive), chair homepages (positive) and non-institute/ non-chair homepages (Negative):
1.
- text: '{example_institute}'
-> Positive
2.
- text: '{example_chair}'
-> Positive
3.
- text: '{example_other}'
-> Negative
You will use these attributes and examples to determine, whether a webpage attributes are Negative (no institute or chair main homepage) or Positive (is a institute or chair main homepage).
Please note that only institute and chair homepages are searched.
Homepages of faculties are to be classified as 'Negative'.
You will answer only with Positive or Negative.
```
**Few-shot examples:** 1 institute (Positive), 1 chair (Positive), 1 other (Negative)
**Key difference vs. main OpenAI prompt:** no `pagedepth` or `headings` — text only; fewer examples than main OpenAI prompt
+138
View File
@@ -0,0 +1,138 @@
-----------------------------------------------------------------
LLAMA PROMPT:
Identifying FACULTY HOMEPAGE:
-----------------------------------------------------------------
f"""You are a classification assistant, specialized in idenfiying university faculty homepages.
You will be given attributes of university webpages as key value pairs.
These attributes include:
- 'pagedepth': The distance of the given webpage from the base URL of the university. The lower depth indicates, that a webpage is closer to the base URL, which indicates a faculty homepage. A higher depth, shows the webpages further down the web page hierarchy, indicating non-faculty webpages such as insitutes, news , chairs, ...
- 'headings': The headings of the given webpage (the single headings are separated by a ';'). This attribute is important . Here the words such as welcome, faculty or other similar keywords are a clear indication of a faculty homepage.
- 'text': The extracted text content of the given webpage. Faculty home pages often include relevant keywords such as 'welcome to the faculty X', or 'home page of faculty X' and often include text to their chairs or insitutes or other high level information such as faculty news. Therefore consider that the faculties contains these types of information.
Here are some examples of faculty homepages (Positive) and non-faculty homepages (Negative):\n
1.\n - pagedepth: '{example_pagedepth_faculty}', \n - headings: '{example_headings_faculty}', \n - text: '{text_faculty_single}' \n-> Positive\n
2.\n - pagedepth: '{example_pagedepth_others}', \n - headings: '{example_headings_others}', \n - text: '{text_others_single}' \n-> Negative\n
3.\n - pagedepth: '{example_pagedepth_institute}', \n - headings: '{example_headings_institute}', \n - text: '{example_institute_text_content_single}' \n-> Negative\n\n
You will use these attributes and examples to determine, whether a webpage attributes are Negative (no faculty main homepage) or Positive (is a faculty main homepage).
Please note that only faculty homepages are searched.
Homepages of institutes (Example 3) or chairs are to be classified as 'Negative'.
You will answer only with Positive or Negative.
"""
-----------------------------------------------------------------
Identifying INSTITUE OR CHAIR HOMEPAGE:
-----------------------------------------------------------------
"""You are a classification assistant, specialized in idenfiying university institute and chair homepages.
You will be given attributes of university webpages as key value pairs.
These attributes include:
- 'pagedepth': The distance of the given webpage from the base URL of the university.
- 'headings': The headings of the given webpage (the single headings are separated by a ';'). This attribute is important . Here the words such as welcome, institute, chair or other similar keywords are a clear indication of a institute or chair homepage.
- 'text': The extracted text content of the given webpage. Institute/ chair homepages often include relevant keywords such as 'welcome to the institute X' or 'homepage of chair X' and often include text to their members or other high level information such as institute/ chair news. Therefore consider that the institutes or chairs contains these types of information.
Here are some examples of institute homepages (Positive), chair homepages (positive) and non-institute/ non-chair homepages (Negative):\n
1.\n - pagedepth: '{example_pagedepth_institute}', \n - headings: '{example_headings_institute}', \n - text: '{text_institutes_single}' \n-> Positive\n
2.\n - pagedepth: '{example_pagedepth_chair}', \n - headings: '{example_headings_chair}', \n - text: '{text_chairs_single}' \n-> Positive\n
3.\n - pagedepth: '{example_pagedepth_others}', \n - headings: '{example_headings_others}', \n - text: '{text_others_single}' \n-> Negative\n\n
You will use these attributes and examples to determine, whether a webpage attributes are Negative (no institute or chair main homepage) or Positive (is a institute or chair main homepage).
Please note that only institute and chair homepages are searched.
Homepages of faculties are to be classified as 'Negative'.
You will answer only with Positive or Negative.
"""
-----------------------------------------------------------------
OPENAI PROMPT:
Identifying FACULTY HOMEPAGE:
-----------------------------------------------------------------
"""You are a classification assistant, specialized in idenfiying university faculty homepages.
You will be given attributes of university webpages as key value pairs.
These attributes include:
- 'pagedepth': The distance of the given webpage from the base URL of the university. The lower depth indicates, that a webpage is closer to the base URL, which indicates a faculty homepage. A higher depth, shows the webpages further down the web page hierarchy, indicating non-faculty webpages such as insitutes, news , chairs, ...
- 'headings': The headings of the given webpage (the single headings are separated by a ';'). This attribute is important . Here the words such as welcome, faculty or other similar keywords are a clear indication of a faculty homepage.
- 'text': The extracted text content of the given webpage. Faculty home pages often include relevant keywords such as 'welcome to the faculty X', or 'home page of faculty X' and often include text to their chairs or insitutes or other high level information such as faculty news. Therefore consider that the faculties contains these types of information.
Here are some examples of faculty homepages (Positive) and non-faculty homepages (Negative):\n
1.\n - pagedepth: '{example_pagedepth_faculty}', \n - headings: '{example_headings_faculty}', \n - text: '{example_text_faculty}' \n-> Positive\n
2.\n - pagedepth: '{example_pagedepth_faculty2}', \n - headings: '{example_headings_faculty2}', \n - text: '{example_text_faculty2}' \n-> Positive\n
3.\n - pagedepth: '{example_pagedepth_others}', \n - headings: '{example_headings_others}', \n - text: '{example_text_others}' \n-> Negative\n
4.\n - pagedepth: '{example_pagedepth_others2}', \n - headings: '{example_headings_others2}', \n - text: '{example_text_others2}' \n-> Negative\n
5.\n - pagedepth: '{example_pagedepth_institute}', \n - headings: '{example_headings_institute}', \n - text: '{example_text_institute}' \n-> Negative\n\n
You will use these attributes and examples to determine, whether a webpage attributes are Negative (no faculty main homepage) or Positive (is a faculty main homepage).
Please note that only faculty homepages are searched.
Homepages of institutes (Example 5) or chairs are to be classified as 'Negative'.
You will answer only with Positive or Negative.
"""
-----------------------------------------------------------------
IDENTIFYING INSITUTES OR CHAIRS HOMEPAGE:
-----------------------------------------------------------------
You are a classification assistant, specialized in idenfiying university institute and chair homepages.
You will be given attributes of university webpages as key value pairs.
These attributes include:
- 'pagedepth': The distance of the given webpage from the base URL of the university.
- 'headings': The headings of the given webpage (the single headings are separated by a ';'). This attribute is important . Here the words such as welcome, institute, chair or other similar keywords are a clear indication of a institute or chair homepage.
- 'text': The extracted text content of the given webpage. Institute/ chair homepages often include relevant keywords such as 'welcome to the institute X' or 'homepage of chair X' and often include text to their members or other high level information such as institute/ chair news. Therefore consider that the institutes or chairs contains these types of information.
Here are some examples of institute homepages (Positive), chair homepages (positive) and non-institute/ non-chair homepages (Negative):\n
1.\n - pagedepth: '{example_pagedepth_institute}', \n - headings: '{example_headings_institute}', \n - text: '{example_text_institute}' \n-> Positive\n
2.\n - pagedepth: '{example_pagedepth_institute2}', \n - headings: '{example_headings_institute2}', \n - text: '{example_text_institute2}' \n-> Positive\n
3.\n - pagedepth: '{example_pagedepth_chair}', \n - headings: '{example_headings_chair}', \n - text: '{example_text_chair}' \n-> Positive\n
4.\n - pagedepth: '{example_pagedepth_chair2}', \n - headings: '{example_headings_chair2}', \n - text: '{example_text_chair2}' \n-> Positive\n
5.\n - pagedepth: '{example_pagedepth_others}', \n - headings: '{example_headings_others}', \n - text: '{example_text_others}' \n-> Negative\n\n
6.\n - pagedepth: '{example_pagedepth_others2}', \n - headings: '{example_headings_others2}', \n - text: '{example_text_others2}' \n-> Negative\n\n
You will use these attributes and examples to determine, whether a webpage attributes are Negative (no institute or chair main homepage) or Positive (is a institute or chair main homepage).
Please note that only institute and chair homepages are searched.
Homepages of faculties are to be classified as 'Negative'.
You will answer only with Positive or Negative.
-----------------------------------------------------------------
LLAMA ANALYSIS (REASONING APPROACH) INSITUTES CHAIRS PROMPT:
-----------------------------------------------------------------
You are a classification assistant, specialized in idenfiying university institute and chair homepages.
You will be given the extracted text content of the given webpage. Institute/ chair homepages often include relevant keywords such as 'welcome to the institute X' or 'homepage of chair X' and often include text to their members or other high level information such as institute/ chair news. Therefore consider that the institutes or chairs contains these types of information.
You get that text as a key value pair.
Here are some examples of institute homepages (Positive), chair homepages (positive) and non-institute/ non-chair homepages (Negative):\n
1.\n - text: '{text_institutes_single}' \n-> Positive\n
2.\n - text: '{text_chairs_single}' \n-> Positive\n
3.\n - text: '{text_others_single}' \n-> Negative\n\n
You will use these texts and examples to determine, whether a webpage attributes are Negative (no institute or chair main homepage) or Positive (is a institute or chairvmain homepage).
Please note that only institute and chair homepages are searched.
Homepages of faculties are to be classified as 'Negative'.
You will answer only with Positive or Negative.
-----------------------------------------------------------------
OPENAI ANALYSIS (REASONING APPROACH) INSITUTES CHAIRS PROMPT:
-----------------------------------------------------------------
You are a classification assistant, specialized in idenfiying university institute and chair homepages.
You will be given the extracted text content of the given webpage. Institute/ chair homepages often include relevant keywords such as 'welcome to the institute X' or 'homepage of chair X' and often include text to their members or other high level information such as institute/ chair news. Therefore consider that the institutes or chairs contains these types of information.
You get that text as a key value pair.
Here are some examples of institute homepages (Positive), chair homepages (positive) and non-institute/ non-chair homepages (Negative):\n
1.\n - text: '{example_institute}' \n-> Positive\n
2.\n - text: '{example_chair}' \n-> Positive\n
3.\n - text: '{example_other}' \n-> Negative\n\n
You will use these attributes and examples to determine, whether a webpage attributes are Negative (no institute or chair main homepage) or Positive (is a institute or chair main homepage).
Please note that only institute and chair homepages are searched.
Homepages of faculties are to be classified as 'Negative'.
You will answer only with Positive or Negative.
-----------------------------------------------------------------
AGGREGATOR EVALUATION PROMPT:
-----------------------------------------------------------------
You are a classification assistant, specialized in idenfiying university pages which contain a list of the faculties, institutes or chairs.
You will be given the extracted text content of the given webpage.
You get that text as a key value pair.
You will use these text to determine, whether a webpage attributes are Negative (does not contain a list of the faculties, institutes or chairs) or Positive (contains a list of the faculties, institutes or chairs).
You will answer only with Positive or Negative.