Structured vs. Unstructured Inputs in LLMs: Evaluating the Semantic and Pragmatic Predictive Power in Abnormal Event Forecasting
Paper · 2025 · Jou-An Chi and Shu-Kai Hsieh
Summary
A description of a surveillance scene can record who acted, what they did, when it happened, and whether they succeeded. It can also suggest things that are harder to put into fixed fields, such as hesitation or an apparent change of intention. Chi and Hsieh ask how much of that detail a language system needs to forecast an action or recognize an irregular event. They compare ordinary captions with temporal knowledge graphs, which break descriptions into timestamped records of an actor or entity, a relation, and a second entity. The comparison asks what happens to performance when the same underlying observations are presented in these different forms. It also asks what the change buys in brevity and traceability. Knowledge graph
The authors join the anomaly annotations in UCF-Crime to the human-written captions in UCF-Crime Annotation, or UCA. UCF-Crime has 1,900 long surveillance videos covering over 128 hours, with normal footage and 13 pre-defined categories of anomalous events. UCA contributes over 23,000 captions aligned to the footage at 0.1-second resolution. The authors turn the captions into event records and use Mistral-large-latest for both tasks. For forecasting, it writes a sentence predicting the next action from the preceding sequence. For detection, it scores the current portion of a scene, and the researchers check how well the scores separate benchmark-labeled anomalous and normal segments. Large language models
Captions gave the higher average scores in both tasks. For forecasting, the mean cosine similarity between the generated sentence and the human reference caption was 0.5978 with text and 0.5718 with graph records. The paired t-test gave p = 0.0978, and the Wilcoxon signed-rank test gave p = 0.0894. For detection, the area under the receiver operating characteristic curve was 0.7817 with summarized captions, 0.7766 with raw captions, and 0.7673 with graph records. The pairwise DeLong comparisons gave p-values ranging from 0.345 to 0.801. The paper reports no statistically significant difference between input conditions on either task. Semantic similarity
The errors show why the form of the input can still matter. With graph records, forecasts frequently stayed with preparations rather than describing how the episode moved forward. Gradual events such as shoplifting were easier to anticipate in the authors’ review than abrupt events such as explosions. In detection, ambiguous conduct such as looking around could receive an anomaly judgment, as could an attempt whose intended outcome never occurred. Captions can preserve qualifications that bear on these distinctions. Graph records are shorter and make the participants, actions, and times easier to inspect. The authors propose that this explicit structure could help reconstruct timelines in surveillance and forensic accounts, where following the sequence of events is valuable. Interpretability
The comparison uses a single system for downstream inference. It leaves open how the tradeoff changes with context length, and the benchmark labels may contain noise or timing mismatches. The findings give a reason to consider compact event records for action-centered descriptions alongside richer prose. The authors make their code, data-processing scripts, and experimental results available in the StructVsUnstruct-LLM repository.
Deep dive: Structured vs. Unstructured Inputs in LLMs: Evaluating the Semantic and Pragmatic Predictive Power in Abnormal Event Forecasting
Chi and Hsieh compare timestamped event graphs with written captions for forecasting the next action and detecting anomalies in surveillance scenes. · about 34 minutes to read
The problem and its context
The same scene can yield two different histories
A surveillance caption is an account of a stretch of activity. Its author chooses which people and objects to mention, which changes are worth describing, and how to connect those changes in a sentence. A sequence of timed captions therefore contains more than a list of motions. It may say that someone returned to a place, that an action was attempted, or that an attempt failed. A reader can use those details to decide whether the same activity is continuing or whether something new has happened. For a system asked to make that decision, the form in which it receives these details is part of the experimental setup.
A temporal knowledge graph gives each recorded relation a time. An ordinary graph fact connects a head entity to a tail entity through a named relation. The head and tail are the two ends of the connection. A record for a person approaching a door, for example, can place the person and the door in those positions and put the action in the relation field. A time field then places that interaction alongside earlier and later ones. A reader can inspect the resulting sequence without recovering its order from the wording of several sentences. The extraction step has already decided which entities and relations deserve separate records. Knowledge graphs and ontologies
A caption can preserve several kinds of information in the same clause. It can connect an action with its result, signal uncertainty about an interpretation, or describe an ordinary detail that later turns out to matter. Those signals are available in prose even when they lack dedicated fields. A graph may keep them by giving them explicit relations. It may also drop them when the extraction concentrates on the principal action. The paper treats this as a meaningful tradeoff. Concision can remove distracting details, and the same process can remove the qualification that lets a reader interpret an action correctly.
This distinction explains the paper’s use of semantic and pragmatic. The semantic side concerns the content of an event description, including who did what and how closely a forecast matches that content. The pragmatic side concerns what to make of an action in a situation. Looking around, for example, can be perfectly ordinary. A judgment that it signals something suspicious depends on the surrounding activity and on how much evidence the description supplies. The paper’s forecasting task emphasizes continuity of meaning, while detection emphasizes the interpretation of conduct in context. Neither task isolates those aspects completely. Semantics
Temporal graphs before the caption comparison
According to the authors, knowledge graphs represent relationships explicitly and can serve applications like question answering and semantic search. Adding time makes it possible to distinguish a relation that held earlier from one that appears later. A collection of facts can then represent changes across a history. In temporal graph forecasting, a common problem is to infer a future fact from the recorded ones. The fact to be recovered can be expressed in the same relational form as the history, which gives the forecasting procedure a well-defined type of output.
Earlier work, as the paper describes it, learned temporal patterns directly over the graph. Recurrent graph approaches carried information forward across timesteps so that the current state could reflect prior ones. The authors mention RE-NET and recurrent relational graph convolutional approaches in this group. Symbolic approaches searched for temporal rules that connect patterns of earlier facts with later facts. A rule expresses a reusable relation between histories and outcomes. The paper also notes practical difficulties with these families of methods, including the need to tune them to particular data and the problems posed by sparse or noisy histories. TILP
The language-based work the authors review makes historical graph information available through prompts. One line of work aligns numerical representations of graphs with the inputs to a language system. Another renders historical facts as text, so the system can read a sequence of relations directly. The cited work on in-context graph forecasting is important for the comparison because the textual surface can vary while the underlying pattern remains available. The authors discuss an experiment in which replacing entity names with arbitrary identifiers still allowed forecasting from structure. That result makes a graph-only history a plausible input even when some of the meaning normally carried by names and prose is absent. Chain of History
A graph forecasting result leaves open how useful the graph will be when the answer is an ordinary sentence. Completing a relational fact and describing an evolving scene place different demands on the output. A sentence may need to mention a consequence in addition to the action that produced it. Its reference may describe several participants or include circumstances that an event record would split apart. Chi and Hsieh therefore ask the system to write the forecast in prose under both input conditions. The shared output gives the experiment a common target while letting the history take different forms.
Forecasting values, projecting actions, and judging conduct
The paper places the experiment alongside earlier applications of language systems to time-series prediction. It describes work using zero-shot prompts, where the system is asked to do the task without task examples, as well as approaches that supply a few examples or adapt a system through further training. The examples the authors cite establish the background for treating a temporal prediction as something a language interface can express. A history of surveillance captions raises a related question with a different target. The next item is an event that must be described in words. Its meaning can include who took part and what changed in the scene. Large Language Models Are Zero-Shot Time Series Forecasters
The review also includes work on applying existing language capabilities to numerical series through reprogramming, and work on adapting language systems to improve regression on structured data. These studies help explain why the authors use a general-purpose instruction-following system for a temporal task. The present comparison centers on the representation fed into that system. The authors keep the system and output task fixed while changing how the history is encoded. Time-LLM
Earlier anomaly-detection work, as described in the paper, used language techniques on logs and sensor readings, adapted systems for binary classification, or asked them to judge irregularities from a prompt. These approaches share a need to establish what counts as expected behavior in a particular setting. An action can be unusual in one sequence and unsurprising in another. The surveillance task adds written human interpretations to that problem. A score depends on what the caption says, which cues survive the chosen representation, and how those cues are interpreted in light of the benchmark’s labels.
The paper draws a distinction between continuing a sequence and recognizing a departure from it. A forecast asks for a plausible extension. A detection score asks whether the activity under review departs from expected conduct. Both can make use of order, but a failure can mean different things. A forecast can stay too close to the recent history and miss a change. A detector can notice a possible change and give too much weight to an ambiguous cue. Applying the same input comparison to both tasks lets the authors examine those errors within a shared body of scene descriptions. Reasoning
Why compare formats on aligned observations?
The paper’s review includes work that mixes relational facts and prose. It describes temporal forecasting approaches that combine triples with summarized or retrieved text, and temporal question-answering systems that draw on both graph structure and textual context. Those studies give a reason to take the information unique to each format seriously. A named relation makes a connection easy to locate. A nearby sentence may explain why the connection matters or preserve an attribute that the graph leaves implicit. The earlier work provides context for the comparison, which evaluates graph and caption inputs as separate conditions. Question answering
A comparison across unrelated collections could confuse format with subject matter. A graph of one set of episodes and prose descriptions of another would differ in their events, their vocabulary, and potentially the quality of their annotations. The alignment of UCF-Crime with UCA gives the authors a common source for the histories and common benchmark supervision. The structured condition is derived from the captions used to build the textual conditions. This makes it possible to ask a narrower question about what changes when the available descriptions are compressed into relational records. Graph construction, summarization, and prompt rendering still have consequences of their own, which matter when interpreting the comparison.
The method, step by step
Align the accounts with the benchmark
UCF-Crime supplies the surveillance footage and anomaly annotations. The dataset includes normal activity as well as videos belonging to pre-defined categories such as fighting, robbery, assault, and burglary. It provides a binary designation at the video level and annotations within videos for use in evaluation. That distinction matters because a video associated with an anomalous incident can contain many ordinary or preparatory actions. The detector is assessed on the label of the current portion of the scene, so treating every caption from such a video as anomalous would change the task.
UCA supplies the descriptions missing from UCF-Crime. A human-written sentence is associated with a time span, which lets the authors join descriptions to information about when the recorded activity occurred. The resulting data bring together a caption, its temporal span, and anomaly information from the benchmark. The authors can use preceding descriptions as the input for a forecast. They can also use the sequence to situate the frame or segment whose anomaly status is being judged. Throughout the paper, frame refers to the prediction or judgment target, while the illustrated descriptions themselves can cover spans of activity. Linguistic annotation
The arson example in the paper shows why the local label matters. The description at 81.3–106 records an attempt that fails, and the example marks that span as normal. At 115.8–121.2, the description records a return to the tree and a successful outcome. That span is marked anomalous. Both descriptions belong to the same type of video, and both concern related conduct. The distinction between them lies in what happens during each span. For the detector, an expression associated with the category can consequently be evidence that requires interpretation. The category of the whole video supplies less precise supervision than the aligned label.
The burglary example shows another use of local alignment. At 254.4–255.8, a caption describes people in a vehicle’s trunk, and the paper gives that span a normal label. The later span at 256.1–350.4 describes people gathering by a door and working together to pry it open, and it carries an anomalous label. The captions attach a judgment to observable activity over time. A format that retains a salient object or participant while losing their connection to the current action could make the local distinction harder to recover.
From timed surveillance captions to forecasts and anomaly scores
The steps in order.
Derive the structured history from the captions
The graph extraction starts with a caption and produces one or more relational triples. A triple consists of a head, a relation, and a tail. A sentence can yield several triples if it recounts successive actions or attributes several consequences to an event. The relational entries are then attached to the timing of the source description. Accordingly, the timestamp in the experimental input is grounded in the annotation assigned to that description. It should be read at the granularity of the annotated event span. A caption that bundles several actions can give them a shared temporal grounding.
⟨h, r, t⟩
The angle brackets enclose an ordered record. The symbol h is the head entity, r is the relation, and t is the tail entity. Commas separate fields. Field order determines which entity is at each end of the relation.
⟨h, r, t, τ⟩
Here h, r, and t retain their roles. The additional symbol τ is the temporal field associated with the relation. The angle brackets again delimit the ordered record, and the commas separate its fields. The example data display time spans alongside the triples produced from the corresponding captions.
GPT-4o-Mini performs the extraction through the OpenAI API and LangChain’s LLMGraphTransformer() module. The authors set its temperature to 0.1 to make extraction more consistent. Temperature is a setting that affects how strongly generation favors likely continuations. The extractor is used without fine-tuning, and the paper reports temporal alignment as the post-processing step. The extraction therefore depends on how the system interprets each source caption in the graph-construction procedure. Its output becomes an input to the downstream experiment. Fine-tuning
The examples make the extraction choice concrete. In the arson sequence, the output has separate relations for the attempt and its failure. In the later span it includes a relation for the successful action. This illustrates how a structured representation can preserve the outcome of an action when the extractor gives that outcome an explicit record. The vehicle example illustrates what can go wrong in the same procedure. The caption mentions a person opening the trunk and several other people hiding inside it. The displayed graph has a single hiding relation whose participants do not recover those roles or the location described in the caption. A compact record can be easy to inspect even when its content is incomplete or misleading.
This use of a graph differs from training a graph forecasting system on the full collection. The downstream prompt receives an ordered rendering of the extracted records. The explicit fields supply the event structure, and natural-language instructions specify the goal and the shape of the response. There is no requirement for the generated answer to use the graph notation. The experiment tests how a language system uses a history presented through that notation.
The text conditions start from the human-written descriptions. They preserve sentence form, which allows the prompt to carry word choices, grammatical connections, and qualifications from the source. Forecasting uses concatenated captions described as raw or lightly summarized. In detection the authors distinguish an unsummarized condition from a condition with language-system-generated summaries. Summarizing and extracting a graph are both transformations of the caption history. A summary retains prose and can condense the sequence within that form. A graph extracts individual relations and places them in named fields.
Keep downstream inference fixed
Mistral-large-latest handles both the forecast and the anomaly score. The paper reports temperature = 0.1, top-p = 1.0, and maximum input length = 128 for its inference runs. Top-p controls the amount of cumulative probability mass eligible for sampling. Under the reported setup, the same settings apply to the different representations. This reduces the possibility that the scores change because one representation was paired with different generation settings.
The extraction and inference systems have separate roles. GPT-4o-Mini supplies the graph condition by converting sentences to records. Mistral-large-latest reads a prompt and generates the answer in every condition. This separation lets the authors use a single downstream system even though producing graph records is a distinct processing step. It also means that the test compares the graph history as extracted with the caption history as prepared. Keeping inference settings fixed does not recover a detail that one preparation step omitted.
The downstream experiment is prompt-based. For forecasting, the prompt tells the inference system to continue the observed sequence in a single sentence. For anomaly detection, the instructions define a numerical scale and constrain the format of the result. The paper describes the detection procedure as training-free, following earlier work. The aligned descriptions and labels supply contexts and evaluation targets. The two tasks consequently probe use of those inputs through instructions, under the stated inference setup.
Forecast the next action in a sentence
The forecasting prompt presents observations in time order. In the graph condition, these observations appear as timestamped records rendered in a structured prompt. In the text condition, a sequence of captions occupies the same role. Both prompts ask for the most likely immediate next action before an anomalous event and require a complete sentence. The forecast is therefore about the next step within the paper’s pre-anomaly framing. It is evaluated against the human caption for the target, rather than scored against a graph relation or a category name.
A common output format is central to this setup. If the graph condition predicted a relation and the prose condition predicted a caption, any score comparison would also reflect the difference between their targets. Here a correct action described with a new choice of words can still agree closely with the human reference. The content of a sentence can also go beyond a single relation, which gives the prompt room to express a development in the scene. That flexibility makes the evaluation of agreement important.
The paper expresses forecasting as a function of the prompt. The notation below writes names and subscripts as readable identifiers.
ŷ_text = Φ_LLM(P_I), I ∈ {TKG → Text, Text → Text}
The symbol ŷ_text is the generated prediction, with the hat marking it as an estimate. The function Φ_LLM is the downstream inference system, and P_I is the forecasting prompt built for input condition I. The membership symbol ∈ and the braces specify the possible values of I. TKG stands for temporal knowledge graph. Text indicates prose captions on the input side or a prose sentence on the output side. Each arrow indicates the mapping from input format to output format, and the equals sign identifies the output of the function with the prediction.
The forecast is compared with the reference using the BAAI General Embedding system, called BGE in the paper. An embedding represents a sentence as a vector, an ordered set of numerical values. Both sentences go through the same encoder, so their vectors can be compared. The cosine measure represents agreement in direction. It lets a forecast receive credit for expressing related content without using the exact words chosen by the annotator. Semantic similarity
Similarity = cos(E_BGE(ŷ_text), E_BGE(y_GT))
Similarity is the score for a forecast and its reference caption. The function E_BGE encodes its argument using BGE. Its arguments here are ŷ_text, the generated sentence, and y_GT, the ground-truth sentence supplied by the human caption. cos takes the resulting vectors and returns their cosine similarity. The parentheses mark function inputs, the comma separates the vectors being compared, and the equals sign assigns the resulting value to the score.
Each evaluated segment receives a similarity score. The paper averages those scores across the evaluation set to obtain the value reported for each input condition. The forecast target and encoder are shared, so the comparison asks which history yields a generated sentence whose meaning is closer on average to the reference under that measure. The averaging gives an overall view of semantic agreement. Individual forecasts can still differ greatly in the details they get right.
Judge the current frame on a risk scale
In detection, the task is to give the current frame an anomaly score. The benchmark supplies a binary label, but the prompt asks the inference system to express degrees of abnormality. Framed from a law enforcement perspective, the system instruction asks for a rating between 0 (normal) and 1 (highly anomalous). The format instruction narrows the possible answers to 11 values, from 0.0 to 1.0 in steps of 0.1. The output is a Python list with a single value. That format leaves each evaluation item with one sortable score.
a ∈ [0, 1]
The symbol a denotes an anomaly score. The membership sign places the score in the interval, and the square brackets indicate that the endpoints 0 and 1 are included. The comma separates the endpoints. The prompt further restricts the permitted answers within that interval to the discrete values described above.
The context is a chronological account of the scene in one of the experimental forms. Earlier descriptions frame the event flow. The prompt specifies that the anomaly judgment is to be made for the current frame itself. This distinction is consequential in a video that contains both ordinary and anomalous activity. Earlier context can clarify what the current description refers to. The target of the score remains the particular activity under review.
C_temporal ∈ {C_unsummarized, C_summarized, C_TKG}
C_temporal is the temporal context supplied for detection. C_unsummarized is the sequence of captions in its unsummarized form, C_summarized is the summarized prose, and C_TKG is the history in temporal graph records. The membership symbol and braces define the possible forms, with commas separating the alternatives.
A separate prompt component carries this context. The final prompt joins it to the instruction about the task and the instruction about the output. The anomaly score then comes from the same inference system used in forecasting. The design keeps a format change in the history from also changing what the system is asked to produce.
â = Φ_LLM(P_S ◦ P_F ◦ P_C)
â is the predicted anomaly score. Φ_LLM is the downstream inference function. P_S is the system instruction, P_F is the output-format instruction, and P_C is the prompt component that contains the temporal context. The operator ◦ denotes concatenation here. The parentheses place the joined prompt inside the function, and the equals sign gives its output as â.
The evaluation uses the area under the receiver operating characteristic curve, or ROC AUC. At a particular decision threshold, scores on one side of the threshold produce positive decisions. The curve describes how the rate of correctly flagged anomalies and the rate of false alarms change as the threshold moves. The area summarizes the ranking across thresholds. A high value indicates that benchmark-labeled anomalies generally receive higher scores than benchmark-labeled normal cases. The study can thus compare the scores without choosing an operating threshold. Evaluation and benchmarks
AUC = AUC–ROC(â, a_GT)
AUC is the area reported for the condition, and AUC–ROC names the calculation from predictions and reference labels. The dash belongs to the name of the metric. Here â refers to the collection of predicted scores, and a_GT to the corresponding benchmark labels. The comma separates the two inputs to the calculation, the parentheses enclose them, and the equals sign gives the resulting area.
a_GT ∈ {0, 1}
For an individual evaluation item, a_GT is the binary ground-truth label. The membership sign and braces restrict it to 0 for a normal item or 1 for an anomalous item. The comma separates those categories. In the AUC calculation the aligned collection of such labels is used together with the predicted scores.
Experiments and results
The benchmark and the comparison conditions
The data foundation is UCF-Crime, which contains 1,900 videos over more than 128 hours. It covers ordinary scenes and 13 named anomaly categories. UCA adds over 23,000 temporally aligned captions at 0.1-second resolution. These figures describe the source datasets. The reported scores summarize the authors’ evaluations on aligned descriptions. They should be read as results for the experimental setup, with the headline source totals kept distinct from the number of paired observations entering each statistical comparison.
In forecasting, the caption-history condition is the direct comparator for the timestamped graph history. Both produce sentences, both use the same inference system, and both compare with the human reference using BGE and cosine similarity. In detection, raw captions are a direct comparator for the graph input. Summarized captions provide an additional test of a condensed history that retains the form of prose. The classification scores are always evaluated against the aligned UCF-Crime anomaly labels. The reported baselines are thus alternative inputs within the language-based procedure.
The tasks use different metrics because their answers have different forms. Forecasting produces a sentence, and its score depends on how close the sentence embedding is to that of an observed event. Detection produces a scalar, and its measure depends on how those scalars order normal and anomalous cases. The magnitudes belong to separate scales. A representation can help by preserving the material needed for a good sentence while contributing little to the ranking of anomaly cases, or it can help the ranking by making action differences easier to track.
Forecasting with caption and graph histories
The caption history gave a mean cosine similarity of 0.5978 between generated and human-written descriptions. The graph history gave a mean of 0.5718 on the same forecasting evaluation. The ordering favors prose for this measure. It reflects how the predictions match the captions under the shared encoder. Some of the advantage could come from input wording that helps the system describe the reference event in similar terms. The experiment also leaves room for content differences, since prose can preserve event details that disappear during extraction.
Mean cosine similarity for forecasting on aligned UCF-Crime and UCA descriptions
Caption histories yield the higher mean similarity to the human reference.
The numbers
| System or setting | mean cosine similarity |
|---|---|
| Timestamped graph history | 0.5718 |
| Caption history (this paper) | 0.5978 |
The authors use paired tests because the formats are compared on corresponding evaluation observations. The paired t-test examines the average difference within those pairs. It reports t = 1.7259 and p = 0.0978 for the forecasting comparison. The Wilcoxon signed-rank test uses the signs of paired differences together with ranks based on their magnitudes. It reports W = 90.0 and p = 0.0894. The paper judges the difference statistically nonsignificant by both tests. Reporting both shows how that conclusion holds when the comparison is made with a rank-based procedure as well as with the paired mean-based test.
The observed means establish the direction of the aggregate result for the evaluation. The statistical tests leave uncertainty about how reliably that direction would persist under the same comparison on further observations. There is room for both facts in the interpretation. The text condition has the higher measured average, and the evidence stops short of a clear statistical separation. Averaging also leaves open how often a graph input improved an individual forecast, how inputs interacted with event categories, and which differences reflected prediction of the correct action as opposed to wording of the output.
The target caption is an observation of what happened in the benchmark. A forecast can be plausible given the history and still receive less credit because the actual event took a different course. Conversely, a forecast can reuse participants and actions from the history, yielding a similar sentence while missing the crucial transition. The authors’ examination of stalled predictions addresses this aspect of the task. The mean similarity provides a comparable aggregate, and the qualitative analysis helps explain what that aggregate can contain.
Detection with raw prose, summaries, and graph records
Summarized captions gave a ROC AUC of 0.7817 in anomaly detection. Raw captions gave 0.7766. Timestamped graph records gave 0.7673. Each area describes the ranking of scores against the same benchmark labels in the detection evaluation. The ranking of the conditions places prose first in both its summarized and raw forms, with summaries numerically highest. The comparison between prose forms shows that retaining the raw caption wording in full was compatible with a slightly lower area in this setup.
ROC AUC for anomaly detection on aligned UCF-Crime and UCA descriptions
Summarized captions have the highest observed area, followed by raw captions and graph records.
The numbers
| System or setting | ROC AUC |
|---|---|
| Timestamped graph history | 0.7673 |
| Raw captions | 0.7766 |
| Summarized captions (this paper) | 0.7817 |
The authors compare the areas pairwise with DeLong tests. The comparisons concern areas obtained from scores evaluated on corresponding items. The paper’s table expresses each difference with the later-listed condition in the comparison designated as the higher-scoring condition, according to this notation:
ΔAUC = AUC(B) − AUC(A)
ΔAUC is the difference in area for the specified pair. AUC(A) and AUC(B) are the areas for the conditions labeled A and B, respectively. The minus sign gives the direction of the subtraction, and the equals sign defines the reported difference.
For raw captions compared with graph records, the paper reports ΔAUC = 0.0093, a standard error of 0.0188, z = 0.494, and p = 0.621. Its 95% confidence interval is [−0.0275, 0.0461]. With summarized captions compared with graph records, it reports ΔAUC = 0.0143, a standard error of 0.0152, z = 0.943, and p = 0.345. The corresponding 95% interval is [−0.0155, 0.0441]. These are the two direct comparisons between prose and graph histories in detection.
The comparison of summarized with raw captions gives ΔAUC = 0.0051, a standard error of 0.0201, z = 0.252, and p = 0.801. The 95% interval is [−0.0344, 0.0445]. The standard errors describe uncertainty in the estimated differences, and the z statistics express those differences in relation to their uncertainty. Each interval includes zero. At the paper’s stated significance level of α = 0.05, none of the DeLong comparisons reaches statistical significance. The observed order is therefore a description of this evaluation, with the intervals showing the uncertainty around the comparisons.
An area measures discrimination over thresholds. It can favor a condition that generally places anomalous cases ahead of normal ones even if some ordinary cases receive high scores. This matters for reading the examples of suspected activity in the paper. The authors find troubling individual judgments even in a setup that produces separation overall. The reported areas do not give a threshold-specific false-alarm rate or establish how scores would behave if interpreted as probabilities.
How much the headline results establish
Across both tasks, the numerical results favor caption inputs under the conditions the researchers tested. Forecasting asks the system to generate text, and detection adds a comparison with summarized text. The tests answer whether the observed gaps supply enough evidence for statistical separation under their procedures. They leave open the size of any persistent advantage. In particular, the nonsignificant results do not establish formal equivalence between the formats. The comparison instead shows that the graph histories achieved scores near those of text in this setting, with the uncertainty reported for the differences.
The paper’s practical argument also rests on features outside the headline metrics. Timestamped records are compact and present the core relations in an inspectable form. Prose gives a generator more descriptive material to work with. The metric comparisons put those design choices in perspective. A reader choosing between the representations can see the measured direction of performance and the uncertainty that accompanies it. The study discusses reduced token use and easier tracing as benefits of structure, while the reported charts quantify semantic agreement and discrimination.
What the ablations show
Changing the history while keeping the task fixed
The paper offers controlled comparisons of whole input conditions and qualitative error analyses. Its main intervention is to change the representation while keeping the downstream inference system and task constant. In forecasting, that means providing a graph history or a prose history and asking for the same kind of sentence. In detection, it means comparing the two forms of prose and the graph condition under a common scoring instruction. These are tests of complete representations as prepared by the authors. There is no component-by-component ablation of timestamps, relation labels, or kinds of descriptive detail.
The direct caption-to-graph comparison tests an appealing idea. If the relevant history is mostly about the progression of people’s actions, recording the participants and relations explicitly may preserve enough information to continue or judge a sequence. The graph results show that such a history can support both tasks in the authors’ setup. Prose has the higher averages. The remaining question is which features of prose or extraction account for those averages, and the paper examines errors to suggest explanations. The format intervention does not vary those features independently.
The summary condition makes the detection comparison more informative. Raw captions can contain detail that helps with a particular case and detail that distracts from the event. A summary may keep a qualification that matters while shortening the sequence. Graph extraction can also shorten it, with the retained information expressed as relations. The top observed area for summaries is consistent with keeping useful scene-level detail in a condensed input. The statistical comparison and the absence of matched-length conditions leave that mechanism open. The raw-versus-summary comparison likewise does not isolate which particular parts of a description were helpful.
Where the forecasts stop moving
In the qualitative review, graph-based forecasts frequently anticipated another preparatory action while missing the development that made the episode distinct. An ignition attempt could be predicted even when the recorded sequence had moved on to a successful outcome. The error can be plausible at the level of the action because attempts are already part of the history. It is an error at the level of progression because the forecast answers with more of the same activity when the reference describes a change.
This is a useful distinction for interpreting the role of structure. A graph provides a chronological record, and that record can specify that an attempt failed. Forecasting requires a further inference about how the recorded state is likely to change. The arson example illustrates that a graph can contain a failure relation. A stalled prediction therefore cannot automatically be attributed to losing the fact of failure. The system might attend heavily to earlier actions, or the input might leave out another cue that indicates a likely transition. The review identifies the recurring shape of the error without deciding its cause in each example.
The paper also describes forecasts that stayed anchored to earlier triples and generated sentences that made sense locally but did little to advance the narrative. A sequence of graphs can place the known events in order. A next event can depend on a goal, a physical consequence, or a change in the situation that has not yet appeared as a fact. Prose may express connections among those elements through wording. The authors view that additional context as one explanation for the small prediction advantage under semantic similarity. The experiment does not measure how much comes from each kind of cue.
Some outcomes are especially hard to infer from the recorded lead-up. The authors discuss a rare accidental outcome in an arson episode as a case the system seldom anticipated. In the accompanying category-level discussion, gradual events such as shoplifting were easier to forecast than abrupt events such as explosions or ambiguous events such as accidents. This is a qualitative pattern. The paper’s reported means do not assign each category its own quantified comparison. The observation concerns how much the unfolding activity tells an observer about the reference caption, as well as what a representation preserves.
The explosion example in the aligned data makes that distinction tangible. At 0.0–9.0, the description records ordinary roadside activity. At 9.0–21.3, the caption describes an explosion and visible consequences, and the benchmark marks the segment anomalous. A later description can be clear and easy to structure even when the earlier description offers little evidence for forecasting it. A system may recognize the transition once its effects are described while having little basis for predicting it in advance. The paper’s two tasks distinguish those forms of success.
Which cues lead to anomaly judgments
The anomaly review reports oversensitivity to vague conduct such as pacing and looking around. A motion can be described accurately while an inference about its purpose remains weak. In the aligned benchmark, the current frame is judged against an annotation of the event status. When a system scores cautious behavior as anomalous, it may be treating a cue associated with possible intent as sufficient evidence of the labeled incident. Context could support such an inference in some episodes. The examples show that relying on the cue broadly can yield false alarms.
Unsuccessful attempts produced a related error. The system sometimes flagged an attempt when the benchmark distinguished it from a later completed action. This is a stronger test of contextual interpretation than merely recognizing vocabulary that belongs to an activity. The predictor has to interpret whether the action took place, whether it succeeded, and which part of the sequence it is currently judging. The paper’s graph example explicitly represents unsuccessful and successful outcomes in different records. That detail matters for diagnosis because the score can still reflect an overreaction to the attempt, even when an outcome cue is available.
The authors offer a possible explanation for why neither representation has a large measured advantage. Graph records can strip away wording that invites unsupported suspicions and leave a compact description of the actions. Prose, particularly summarized prose, can carry negation, intensity, and qualifications about the scene that help correct a misleading first impression. A qualification can indicate that an action was attempted, failed, or had an ordinary explanation. Its contribution depends on the circumstances. The comparison changes many such cues together, so the explanations remain interpretations of the error patterns.
The two tasks reveal related errors in opposite uses of a history. A forecast can understate change by continuing a preparatory sequence. An anomaly score can overstate what has already changed by treating a preparatory or equivocal action as evidence of a completed incident. This relationship helps explain why making the sequence explicit is only part of the problem. What the system infers about event stages and outcomes also matters. The paper demonstrates these behaviors with examples alongside the aggregate comparisons.
What can be inspected after a mistake
A graph-based answer can be traced back to a small set of visible records. The investigator can check whether the input included a relation for a failed attempt, whether it tied the relation to the correct participant, and whether it placed that participant’s action in the expected span. This makes some input errors easier to locate. The vehicle example shows how that can work. The inconsistency between the caption and the graph is visible directly in the relation and its arguments. An error review can separate a question about the quality of extraction from a question about how a downstream score was produced.
Prose offers a different kind of inspection. It preserves how the annotator connected the actions, which details were qualified, and which circumstances surrounded the event. A reviewer can examine that wording when an output appears to jump from an observed motion to an unsupported interpretation. The paper treats the regularity of the graph input as an advantage for timeline work and symbolic handling. Its examples also show that inspectability of the input and correctness of the inference are separate properties. The qualitative analysis examines the evidence visible in the prompt and the answer it elicited.
Limitations
Limits identified by the authors
The authors limit their inference results to Mistral-large-latest. GPT-4o-Mini has a different role as the graph extractor. Its presence in the pipeline leaves the downstream comparison dependent on one instruction-following system’s ability to use the two representations. Other architectures or systems adapted to the domain may make different use of caption wording or graph structure. The comparison therefore gives evidence for the named setup, while the authors identify broader testing as a direction for future work.
Input length is another stated limit. The study uses a fixed inference configuration and does not systematically vary the length of temporal histories. The proposed benefit of graphs is that shorter descriptions can fit more readily within a context budget. The tradeoff could change as histories grow. More caption history may supply useful clues, and a longer prompt may also introduce irrelevant details. An experiment varying the length of histories would be needed to determine how those effects interact with format. The paper leaves the extreme long-context setting open.
The authors also identify dataset size as a possible constraint on statistical power. The averages favor prose, but the statistical comparisons leave uncertainty about those differences. A larger evaluation could give more precise estimates, and greater variety could show where each format helps. The current measures describe performance over the observations used in the comparison. The study does not establish a margin within which both representations can be declared equivalent. That distinction matters when considering the authors’ proposal that compact histories can be competitive in action-centered settings.
The labels themselves may contain temporal misalignments or noise. UCA captions describe spans of activity. The anomaly annotations must be associated with particular moments or intervals for detection. A caption can cover several actions, including a transition between ordinary and anomalous conduct. If the boundary or label is imperfectly aligned with the account of what happened, an apparent error can reflect disagreement between the sources of supervision. The authors call for improved annotations along with larger datasets, other inference systems, and long-context comparisons.
Limits visible in the design
The structured history inherits the decisions of a specific extraction procedure. The arson examples show that it can record stages and outcomes usefully, and the vehicle example shows that a relation can also be assigned to misleading arguments. The reported comparisons do not include an independently verified graph condition against which to measure extraction loss. A difference between text and graph can therefore reflect what was retained, how the retained content was encoded, and how the inference system handles the resulting prompt. These contributions are intertwined in the tested pipeline.
Summarization creates a similar issue in the comparison among detection inputs. A lower-volume caption history can preserve a particularly informative qualification or omit one. The raw, summarized, and graph conditions vary simultaneously in length, wording, and level of detail. A reader can use the comparisons to assess the complete conditions. The evidence cannot establish that the winning condition gained specifically from brevity or from a particular class of pragmatic cues. That would call for comparisons in which the relevant details or lengths were controlled separately.
The labels also reflect the benchmark’s operational definition of anomaly. The prompt asks for a risk judgment and adopts a law-enforcement role. A caption describing pre-incident behavior can admit several interpretations, while the benchmark requires a binary label at the evaluation target. A high score on a labeled normal span can be an error under that definition even if the description makes the action seem worth watching. The experiment evaluates agreement with the benchmark, so its scores do not establish a general definition of suspicious conduct or the adequacy of a score for a decision about a person.
Forecasting has a corresponding dependence on the chosen target. A generated sentence is compared with the single observed reference caption. That design is appropriate for measuring alignment with the event that took place. It does not measure the full range of reasonable continuations, or whether a forecast expressed its uncertainty well. This matters most when the descriptions give few clues about an abrupt next event. The prompt’s framing around activity preceding an anomaly further distinguishes the setup from an open-ended stream in which the system would also have to decide whether an anomaly is likely to occur at all.
Cosine similarity supplies a broad measure of shared meaning. The paper does not give a separate score for whether the correct person performed the action, whether an attempt actually succeeded, or whether the prediction captured the decisive event transition. A plausible sentence about the right people and objects can still be wrong on a consequential relation. The authors’ qualitative examples show this possibility in the form of predictions that linger on preparations. A reader should interpret the average as a score for semantic alignment with the caption, with factual and temporal details examined through particular cases.
ROC AUC similarly addresses one aspect of detection. It describes discrimination over thresholds and does not establish how numerical scores correspond to observed probabilities. It also leaves the consequences of any individual decision threshold unspecified. The paper’s discrete output scale permits several cases to share a value, and their ranking is the central concern of the metric. Oversensitivity to ambiguous acts can still matter even when the aggregate ranking is reasonably effective. The paper does not report an operating policy or validate score calibration.
The source observations are human-written captions. The test begins after a person has identified and described relevant activity in the footage. A pipeline operating on video directly would have to recover participants, movements, and outcomes before producing the histories evaluated here. Omissions in those observations would carry through to the score or forecast. The paper’s results concern interpretation of written accounts and their extracted relations. The possible use of structured records for forensic timelines follows from the form of the representation and remains an application proposed by the authors.
Finally, the benefits of compactness and traceability depend on what is being measured. Shorter graph prompts create the possibility of reduced downstream input cost. The pipeline also includes the work of extracting the graph, and the study does not quantify a complete cost or latency comparison that includes that step. Likewise, seeing a timestamped relation makes the input easier to audit. The experiments do not establish the internal reasons a system relied on when it generated a forecast or score, or measure whether reviewers reconstruct timelines more accurately with the records.
What came after
No later citing study is documented here. The authors’ proposed extensions are to repeat the comparison with other inference systems, examine longer histories, and evaluate on larger, more varied datasets with better temporal annotations. Those extensions would test how far the observed tradeoff between descriptive detail and compact event records carries beyond this experiment.
Cite
Cite as Jou-An Chi and Shu-Kai Hsieh. 2025. Structured vs. Unstructured Inputs in LLMs: Evaluating the Semantic and Pragmatic Predictive Power in Abnormal Event Forecasting. Proceedings of the 37th Conference on Computational Linguistics and Speech Processing (ROCLING 2025).
@inproceedings{chi2025structured,
title = {{Structured vs. Unstructured Inputs in LLMs: Evaluating the Semantic and Pragmatic Predictive Power in Abnormal Event Forecasting}},
author = {Jou-An Chi and Shu-Kai Hsieh},
booktitle = {Proceedings of the 37th Conference on Computational Linguistics and Speech Processing (ROCLING 2025)},
year = {2025},
url = {https://aclanthology.org/2025.rocling-main.25/}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/chi-2025-structured-vs-unstructured-inputs-llms/