TRAM: Benchmarking Temporal Reasoning for Large Language Models
Paper · 2024 · Yuqing Wang and Yun Zhao
Summary
Knowing which event came first, knowing how long it lasted, and knowing why it happened are different abilities. A sentence can give an exact time, suggest one through context, or leave a reader to draw on everyday experience. TRAM brings these demands together in a benchmark for large language models. It contains 526,668 multiple-choice questions organized into 10 tasks and 38 subtasks. Earlier evaluations tended to concentrate on particular aspects of time. TRAM gives researchers a common format for examining a broader range of reasoning.
The benchmark covers basic judgments about sequence, frequency, duration, and typical timing. It also tests how systems interpret ambiguous expressions and perform time calculations, and how they handle temporal relations, inference between statements, cause and effect, and story endings. The authors adapted questions from resources including MCTACO and SQuAD and drew historical examples from Wikipedia timelines. They also wrote questions and templates, generated items programmatically, and had specialists review the material. Each question has a designated answer. The authors released the data and code under the name TRAM-Benchmark.
The evaluation compares BERT and RoBERTa variants and the time-specialized RST system with Llama2, Gemini Pro, GPT-3.5, and GPT-4. The first group receives limited task-specific training. The larger systems answer with or without demonstrations and with either direct questions or prompts asking for stepwise explanations. GPT-4 leads on most tasks and reaches an average accuracy of 84.4% in the reported TRAM experiments. The paper reports a gap of 12.9% in average performance behind screened human experts. Stepwise prompting often helps. The task profiles also differ substantially. Reported arithmetic accuracy for the larger systems ranges from 52.6% to 91.2%, while BERT and RoBERTa are particularly strong on the task that asks for a temporal relation between specified entities.
The authors’ review of incorrect and inappropriate responses shows why an overall score tells only part of the story. In the foundational tasks, the most frequent error was relying on assumptions that the situation did not warrant. Calculation mistakes led in the interpretation and computation group. Missing an unstated temporal implication was the largest category in the advanced group. TRAM thus gives researchers a way to identify where performance breaks down, whether the difficulty lies in carrying out a calculation, grounding an everyday judgment in context, or recognizing what a narrative implies about time.
Deep dive: TRAM: Benchmarking Temporal Reasoning for Large Language Models
TRAM tests how well language systems reason about time, from everyday event sequences and calendar arithmetic to causes and story endings. · about 34 minutes to read
The problem and its context
Time is part of the meaning of an event
When a passage names an event, it can leave many questions about its timing unanswered. A reader may need to reconstruct the sequence from the events themselves. The order in which an author mentions events need not tell a reader when those events occurred. Other questions have little to do with sequence. To compare the length of familiar activities, a reader needs some sense of their usual duration. To decide when an activity usually happens, the reader needs knowledge about routines. A question about how often something happens asks for a rate or pattern of repetition. All of these judgments concern time, but the evidence and operations differ.
The paper illustrates this with a movie and a sunset. The comparison can concern how long each lasts or how often each can occur. A useful answer to one question supplies little of what is needed for the other. Frequency depends on what kind of event is under discussion and how it can recur. Duration depends on what interval counts as the event. Ordinary text often leaves those assumptions implicit because an author expects the reader to recover them. A system that recognizes a temporal phrase may still have difficulty figuring out what it contributes to the situation.
Time also matters when a reader moves from individual events to a larger account. In a cause-and-effect question, a season or a stated time may constrain which explanation is plausible. In a story, the way a new event follows earlier ones may determine whether an ending fits. And when comparing a premise and a hypothesis, a reader needs to judge whether the first statement supports, conflicts with, or leaves open the second. An apparent match between the topics of two sentences can hide a difference in what each commits the speaker to about time. These are cases of natural language understanding.
This range of demands makes benchmark coverage important. A strong result on questions about dates says something about the system’s ability to answer those questions. It says less about whether the system can infer the order of events described without dates. Likewise, success in choosing a familiar story ending and success in keeping track of a calendar adjustment can have different explanations. The authors wanted a comparison that preserved such distinctions while making it possible to evaluate the same systems across them. That is the role TRAM plays in evaluation and benchmarks.
What earlier datasets covered
The paper traces temporal evaluation from resources centered on relations to collections built around questions and answers. It describes TimeBank as an early resource mainly concerned with temporal relations. Such a resource makes it possible to ask whether a passage locates one event relative to another event or a time. TempEval-3 broadened the scope to include finding temporal entities as well as identifying relations. Finding the relevant expression and determining how it connects to an event are distinct operations. A passage can contain several expressions that a system identifies correctly while leaving it uncertain which one constrains a particular event.
The later datasets discussed in the paper put more emphasis on time-sensitive question answering. The authors name MCTACO and Time-sensitive QA alongside TEMPREASON and MenatQA. They also discuss TEMPLAMA in connection with temporal knowledge. Collectively, the earlier resources cover important phenomena such as how long events last, how often they happen, and how they relate to particular times. The authors see a need for a common assessment that also covers time in narratives and in causal judgments. Their related work places TEMPLAMA in the line represented by Time-Aware Language Models as Temporal Knowledge Bases.
TRAM draws on these antecedents in two ways. Some source data give the authors material they can convert into benchmark questions. Earlier evaluations also help define the gaps that the new collection is meant to address. For instance, a relation annotation can serve as the answer to an item about two entities, while a reasoning task about an appropriate story ending requires a different kind of annotation and response choice. A common answer format makes these items look similar when administered. Their different sources still matter for understanding the abilities the questions call on.
The choice of multiple choice follows the evaluation approach the authors associate with the earlier work Measuring Massive Multitask Language Understanding. Answers can then be checked by their option labels across tasks that would otherwise produce quite different outputs, from a date to a sentence-length conclusion. The price of this uniformity is that constructing the options becomes part of constructing the test. An alternative ending, an incorrectly permuted sequence, and a wrong calendar result each have to be plausible enough to make the question informative.
What changed in how systems were evaluated
The paper also describes a change in how researchers adapt pretrained systems. Pretraining exposes a system to a broad body of text before an evaluation is defined. In one approach, researchers subsequently adjust the system using labeled data for a particular task. The research line behind TRAM’s trained baselines includes BERT and RoBERTa. In another approach, an evaluator uses the prompt to specify the task. A zero-shot prompt includes no worked demonstrations. A few-shot prompt shows a small set of examples with answers. The paper associates this shift with Language Models are Few-Shot Learners.
A prompt can also change what the system is asked to produce before giving the answer. In chain-of-thought prompting, the prompt encourages an explanation in steps or illustrates such an explanation through demonstrations. The paper places this technique alongside earlier work on self-consistency, tree-of-thought prompting, and metacognitive prompting. TRAM uses standard and chain-of-thought prompts in its own comparison. The resulting design addresses both task coverage and evaluation conditions. A score depends on which temporal skill the question targets and on what labeled examples or instructions the system receives.
The method, step by step
Define the task before choosing the source
TRAM starts by deciding what judgment a question should elicit. In ordering, the object of judgment is an event sequence. In frequency, it is the pattern of recurrence. Duration concerns a span of time, and typical time concerns when an event ordinarily occurs or when a particular event is known to have happened. Ambiguity resolution and arithmetic emphasize interpreting or manipulating a time representation. Relation, temporal inference, causality, and storytelling ask how temporal information fits into a broader linguistic or conceptual judgment.
The boundaries reflect the design of the benchmark. A question can require arithmetic and still belong to the duration task if the goal is to find an event’s length. A question can involve the order of two activities and still belong to typical time if the point is which one ordinarily occurs earlier. What assigns the item to a task is the judgment the question is built to test. Subtasks provide more detail about how that judgment is elicited, such as comparison, reading comprehension, or factual recall. This makes the benchmark usable at more than one level of detail.
For each task, the authors turn the intended judgment into an item with a designated correct choice. An item can include a passage, a pair of statements, a list of events, or a description of a situation. Existing data supply some of those inputs. In other cases, the authors supply the situation and use templates to vary details. How they construct the answer choices depends on how correctness is established. A historical ordering can be checked against a source timeline. A computed answer can be generated by a program. A judgment about a natural ending depends on how the story and its alternatives were assembled.
How TRAM builds and evaluates its questions
The steps in order.
Adapt questions about sequence, recurrence, and duration
Ordering has a commonsense branch and a historical branch. Some commonsense items come from MCTACO. Its source items present a candidate answer that can be judged possible or impossible. TRAM recasts this judgment as a multiple-choice question and provides an undetermined response along with the straightforward affirmative and negative choices. This allows the task to distinguish rejecting a proposed order from deciding that the situation leaves the order open. In other commonsense items, the authors set up sequences of familiar events by hand and generate questions from them programmatically.
The facts branch draws on historical timelines in Wikipedia. The authors consult timelines for available centuries, drawing on events from ancient history through the 21st century. They use these materials to create questions in which a system selects the chronological sequence or verifies a proposed sequence. Randomly permuted events supply incorrect alternatives for ordering questions. The construction keeps the events themselves available across possible orders. The judgment concerns their arrangement, so recognizing the names of the events is only part of choosing correctly.
The frequency task asks how often something occurs in several different ways. For everyday commonsense items, the authors select relevant material from MCTACO and assemble options that include a correct answer and at least two wrong ones. They randomize the position of the correct option. Reading comprehension items originate in passages and questions selected using expressions that ask about recurrence or the number of occurrences. Those items preserve a context from which the answer can be recovered. The source is the reading-comprehension dataset SQuAD.
Frequency questions also come from human-written templates for comparison, computation, and practical applications. In an application item, the recurrence pattern can be given indirectly through a situation. In a computation item, the pattern can support finding a previous or subsequent occurrence. Comparison items ask which of the described events happens more or less often and can draw on real or invented situations. The facts subtask focuses on known periodic events, primarily using Wikipedia among its sources. The difference across these items lies in where a solver finds the relevant frequency, whether in a passage, in a rule for recurrence, or in a fact outside the wording of the question.
Duration uses MCTACO for everyday event lengths and SQuAD for questions whose answers can be found in a passage. The authors select SQuAD items with wording that asks about an elapsed span, including questions framed around the number of years or the amount of time. To convert a source question into a TRAM item, they retain the intended duration and add alternative answers. The resulting task involves distinguishing the supported span from the offered alternatives. Free-form phrasing, which matters in the source task, plays a smaller role when the answer is indicated with a letter.
The additional duration subtasks use human-curated problems or templates. An analogy item asks a solver to transfer information about a known or described duration to a comparable situation. A computation item asks for an elapsed length that can be derived from the quantities given. In direct comparison, the solver can compare the event lengths as presented. In multi-step comparison, the solver must first combine information across statements before making the comparison. Factual duration items use periods associated with recorded events, drawing especially on Wikipedia. These varieties make it possible to examine duration questions whose demands extend beyond recognizing a plausible unit of time.
For template-based frequency and duration items, braces stand for slots that can be populated with different events or time values. The reusable part specifies the type of question and the relation among the values. The filled slots make a particular instance. This arrangement lets a collection vary the details while preserving what the answer depends on. In comparison problems, for example, wording can stay broadly stable while the event descriptions and timing information change. A batch of questions can thus represent many scenarios with comparatively few underlying forms.
Typical time addresses a different aspect of an event. The relevant answer might be a customary time of day, a usual order relative to another activity, or a historical date. Its MCTACO items ask for everyday knowledge. In hand-curated comparisons, an item may present competing statements about when something ordinarily occurs. The authors illustrate this with descriptions of dinner in the evening and dinner in the afternoon. The target is the option that matches the intended convention. A factual item instead associates an established event with a time or period, using Wikipedia timelines as an important source. SQuAD supplies passage-based questions selected for wording that asks when an event happened.
Across the foundational group, the authors draw from MCTACO’s validation and test sets and SQuAD’s training and validation sets. Those are the splits of the original datasets. The items are adapted into TRAM, which has its own development and test sets. The distinction matters because a source split describes which material was available for adaptation. TRAM’s split describes which resulting items can appear as demonstrations and which are set aside for evaluation.
Specify what must be interpreted or calculated
Ambiguity resolution includes interpretation of temporal phrases and adjustments to time references. To build the interpretation items, the authors gather expressions from everyday and less common usage. Their examples include the idiom “in the nick of time,” whose interpretation depends on proximity to a deadline instead of a clock reading. Such an item asks what temporal meaning an expression conveys. The benchmark can present that judgment as a choice because the authors give the expression a designated interpretation among the alternatives.
The other ambiguity-resolution subtasks concern shifts. Calendar shift asks a solver to translate a date between conventions such as the Julian and Gregorian calendars. Long-term shifts use years. Intermediate shifts use months, weeks, or days, while short-term shifts operate with hours, minutes, or seconds. The authors construct the questions from human-designed templates. Grouping all of these items with expression interpretation gives the task a wider scope than the name alone suggests. Some questions ask what a phrase means. Others test whether a time reference is handled correctly when its frame or scale changes.
Arithmetic makes computation more explicit. Application items embed the calculation in a situation involving activities such as schoolwork, a trip, or a flight. A date computation item asks for the date reached after moving forward or backward by a given number of days. Month and year shifts work with the corresponding units, and week identification asks which week a particular date belongs to. Clock problems distinguish 12-hour and 24-hour representations. The arithmetic task also includes conversions involving units such as days and minutes, and questions asking for the corresponding clock time in another time zone.
For arithmetic, the authors design both the question templates and the programs that generate instances and answers. A program samples values for the variable slots in a template, fills them in, and generates an answer using the relevant operation. The examples can therefore vary in their concrete values without requiring each one to be written from scratch. A printed problem can look like a practical scenario while its answer still follows from a rule implemented in the generator. The point at which language and calculation meet is the mapping from the wording to that operation. A solver needs to recognize whether the question asks for an elapsed span, an adjusted date, a conversion, or another result.
The paper describes these generators and the roles of their templates in prose. It gives no general equation for temporal reasoning and specifies no new training objective. The benchmark procedure instead depends on the operation for each problem type. A month shift wraps through the months named by the calendar, whereas a time-zone item asks for a corresponding local reading. The reader can understand why the operations are distinct without assuming that the authors implemented a single formula behind all of them.
Turn annotated relations and inferences into choices
The relation task begins with TempEval-3 Silver. Its annotations connect an event to another event or to a time expression and specify the relation for that link. The authors extract the relation type along with identifiers for the entities involved. An event-instance identifier can lead directly to the relevant event identifier or be resolved through the source’s MAKEINSTANCE tag. The authors locate the textual context associated with the event and present the context for the marked entities with the question. This construction gives the solver the entities to compare, concentrating the item on selection of a relation.
The answer comes from the source relation annotation. Other relations from the available inventory become distractors, and the correct relation’s position is randomized. Two labels can differ in a detail that matters even when the coarse order is apparent. The paper illustrates this with BEFORE and IMMEDIATELY BEFORE. The second label adds a restriction the first leaves open. Both appear reasonable if a system has recognized which event was earlier but has failed to establish how closely the events are linked. That is the kind of distinction the fixed relation vocabulary allows TRAM to test.
Temporal natural language inference, or temporal NLI, starts from pairs of statements. The premise supplies the evidence. The hypothesis is the statement whose status must be assessed. Entailment means the premise supports the hypothesis. Contradiction means the premise and hypothesis conflict. Neutral means the premise leaves the question open. TRAM keeps those response categories and the source labels. It draws from the training and validation sets of MNLI and from the training, validation, and test sets of SNLI.
To create the temporal subset, the authors compile a vocabulary that includes explicit relative-time expressions, names of months and seasons, and expressions for actions such as postponement. A pair qualifies for inclusion if it contains a term on that list. This procedure is a filter for candidate material. It keeps the original inference problem and selects it for a visible temporal feature. The construction differs from the relation task, where the target label explicitly describes time. In NLI, the label describes the logical status of a hypothesis, and temporal language is part of the material a solver must assess.
Write plausible alternatives for causes and endings
The causal questions follow the style of COPA, the Choice of Plausible Alternatives dataset. The authors select material with temporal elements and manually create problems in the same form. An item gives a short situation and asks for either a likely cause or a likely effect. The temporal elements can include a season, a clock reading, or an occasion. The answer depends on how that feature shapes what could have led to the situation or what could plausibly follow it.
The authors write the alternatives by hand and construct mirrored items. Starting from an item with a pair of alternatives, they create a distinct premise under which the other choice becomes the supported answer. The premise changes because it provides the reason to prefer one alternative. Mirroring makes each alternative usable as a correct response in some context. It gives a concrete way to make the alternatives plausible while keeping the intended answer dependent on the particulars of the question. The cause and effect problem types each account for 50% of the causality items.
Storytelling asks for a plausible continuation of a short narrative. The authors filter ROCStories and the Story Cloze Test for wording associated with time, including references to the future, recurrence, and postponement. They take colloquial temporal expressions into account when selecting keywords for ROCStories. In the typical item, the reader sees four sentences of a story and chooses between two endings. The Story Cloze Test already provides paired endings, so the authors can concentrate on finding cases where the narrative includes temporal elements.
For ROCStories, the authors use the opening sentences as input to GPT-2 and prompt it to produce an alternative ending beginning with “unexpectedly.” They use the generated alternative as an incorrect choice and filter the augmented items for the temporal content they want. Here the distractor is a continuation that can sound like part of a story. The task turns on whether it fits the specific setup. In the paper’s prompting example, a family outing takes a turn when police officers ask to share the family’s place at a park. The explanation favors the ending in which the friendly encounter continues. It uses story tone and the absence of a setup for the more abrupt alternative, illustrating the kind of contextual evidence an ending choice may require.
Review items and reserve demonstrations
The authors standardize the wording and format of material drawn from the source datasets, including temporal expressions where needed. They add distractors, remove items that fail to fit the task, and recast questions that originally used another response format. The datasheet describes over 100k problems as coming from the manual construction effort with support from programmatic generation. Human input ranges from defining reusable templates to writing individual premises and alternatives. That distinction explains how the benchmark can be large while retaining some control over the judgment each kind of question calls for.
Specialists review the questions for relevance, consistency, and errors in wording, labels, and logic. The authors draw on people with advanced qualifications in cognitive science and psychology as well as statistics, mathematics, and computer science. These backgrounds cover the kinds of contextual and quantitative judgments the benchmark combines. The authors perform a final review for obvious noise and redundancy. The dataset records the correct option with a letter and marks the subtask or source as appropriate, so a question can be traced to the kind of problem it represents.
For every main task, a few-shot development set provides five questions for each category (or subtask), and a separate set is used for testing. Development examples are used to show the response expected under few-shot learning. In the standard prompt, a demonstration supplies a sample question and its answer choice. In a chain-of-thought demonstration, the authors add a human-written explanation that leads to the answer. The explanation can identify events, interpret quantities, or compare possible endings depending on what the task asks.
Standard prompting presents the relevant context, poses the question, and asks for an answer choice. The zero-shot version contains no answered examples. The zero-shot chain-of-thought version gives a stepwise instruction, following the approach the authors associate with Large language models are zero-shot reasoners. In the 5-shot chain-of-thought condition, worked examples from the development set show the style of analysis. The procedure can identify the objective, collect relevant clues or quantities, compare the choices, and end with a selection. Its details vary across tasks because what counts as an intermediate step in a date calculation differs from what counts as evidence for a story ending.
For prompted responses, the paper specifies the following decoding setting.
temperature = 0
temperature is the generation setting the authors use to control sampling. The equals sign assigns it the value 0, which corresponds to greedy decoding in their protocol. Greedy decoding selects the highest-scoring next token at each step. This configuration governs how the system produces its response. The correctness judgment uses the answer selected for the item.
Experiments and results
The evaluation samples and comparison groups
The benchmark’s item counts describe its breadth, while the evaluation protocol determines how much of that material enters a reported score. The datasheet gives 29,462 problems for Ordering and 4,658 for Frequency. Duration contains 7,232, and Typical Time contains 13,018. Among the interpretation and computation tasks, Ambiguity Resolution has 3,649 problems and Arithmetic has 15,629. These figures describe the task collections, including the development and test portions, before sampling questions for the prompted evaluation.
The advanced tasks vary substantially in size. Relation has 102,462 problems and Temporal NLI has 282,144. The collections for Causality and Storytelling contain 1,200 and 67,214, respectively. This distribution matters when reading about the full benchmark. The largest datasets are derived from source collections that offer many candidates, whereas a task involving hand-written premises or alternatives can be far smaller. The evaluation samples by category, so collection size does not directly determine how many questions from that category enter the prompted experiment.
The larger systems in the experiment are Llama-2-70b-chat, Gemini Pro, GPT-3.5 Turbo, and GPT-4 Turbo. The paper tests them through the corresponding hosted services. It uses the OpenAI API for the GPT systems, DeepInfra for Llama2, and Google Vertex AI for Gemini. The shorter names used in the results refer to those tested systems. The reports linked in the paper’s discussion of the Llama and GPT families are Llama 2 and the GPT-4 Technical Report.
Evaluation cost motivated the authors to sample 300 random test items per category, or to use the entire category when it had fewer than 300. Standard prompting and chain-of-thought prompting were both tried in zero-shot and 5-shot settings. The paper reports the best results obtained after multiple runs for each setting. Thus a result describes the combination of a particular system, a question sample, a prompt condition, and the paper’s reporting procedure. The full number of benchmark problems describes the available data, not the number of questions put to each system.
The trained comparison includes BERT-base and BERT-large alongside RoBERTa-base and RoBERTa-large. For temporal NLI, the authors use sequence-classification configurations, which assign a label to the input pair. The other tasks use the multiple-choice configurations. RST provides a baseline developed for temporal reasoning. The tuned baselines use the same test sample as the prompted systems. Their access to task-specific information takes the form of labeled training items used in fine-tuning.
The authors set aside the sampled test items before selecting training material. For datasets with around 1k items, they use 50% of what remains. For sizes between 3k and 10k they use 10%, and for sizes between 10k and 100k they use 2.5%. For datasets above 100k items, they use 1%. These figures describe a sampling schedule for limited supervision. They do not equate the experience of a trained baseline with the experience of a prompted system. They let the authors compare what each approach achieves under the supervision regime chosen for it.
What the scores measure
Accuracy records how often the chosen option agrees with the labeled answer. This serves as the main metric for most tasks. Relation and Temporal NLI also use F1 because their fixed classes have uneven frequencies. Accuracy can be high when a system is successful on common labels, even if it is weak on rare ones. F1 combines precision, which asks how frequently a predicted label is correct, and recall, which asks how frequently the system finds items that should receive that label. The paper identifies both metrics for these tasks. An F1 score and an accuracy value capture different aspects of prediction performance.
The human comparison uses a separate sampling procedure. The authors draw 50 test questions per category for human assessment, and experts answer assigned subsets of these items. The expert effort covers about 1,900 questions across TRAM. The panel includes people with relevant advanced degrees and expertise in quantitative work or temporal cognition. The authors review their qualifications and use a preliminary assessment of 37 questions with a passing criterion of more than 92% average accuracy. Those conditions define the expert reference group behind the paper’s headline comparison.
The authors also recruit non-specialists through Amazon Mechanical Turk. These participants answer the same 1,900 questions as the experts and record 63.5% overall accuracy across the TRAM tasks in that human evaluation. The expert and non-specialist results therefore give different human reference points. The former shows how a screened panel handles the task collection. The latter describes the performance of the recruited non-specialists under the benchmark procedure. The headline human gap in the paper concerns the expert comparison.
Overall performance and the spread across tasks
GPT-4 performs best on most of the tasks and reaches 84.4% average accuracy in the reported TRAM evaluation. The paper describes its lead over Gemini, the next strongest system in the comparison, as over 9% under 5-shot chain-of-thought prompting. Relative to the expert comparison, the authors report a gap of 12.9% in average performance. The result establishes a clear lead for GPT-4 among the systems tested while leaving considerable room relative to the screened human group.
The overall ranking gives an incomplete picture of individual skills. Ambiguity resolution and arithmetic show substantial variation among systems. The paper names the range of arithmetic accuracy in the sampled TRAM test evaluation as 52.6% to 91.2% for the larger systems. Those are the reported endpoints of the comparison. The range describes the spread the authors observed across systems and settings, instead of an uncertainty interval around a single arithmetic score.
Lowest and highest reported arithmetic accuracy on the sampled TRAM test set
The reported accuracy endpoints show a wide spread on arithmetic.
The numbers
| System or setting | accuracy % |
|---|---|
| Lowest reported LLM result | 52.6 |
| Highest reported LLM result (this paper) | 91.2 |
BERT and RoBERTa stand out on temporal relation, in spite of less consistent performance elsewhere. This is the task that gives the relevant entities and asks the system to identify a relation from the source inventory. The result shows how specialization can appear within a task profile even for systems used as general baselines. A result for that task is about choosing the relation for the supplied pair. It does not directly assess a system’s ability to find the pair on its own or build a timeline for the full passage.
The overall comparison also places RoBERTa-large ahead of Llama2 on average. The paper’s results discussion describes RST as comparable to RoBERTa-large on average. Since these systems are adapted differently, the comparison demonstrates what the alternatives can achieve in the reported setups. Differences in background training, architecture, and task-specific supervision remain part of the comparison. The authors mention architecture and optimization as possible reasons for some of the rankings, but the results establish the rankings under the benchmark protocol rather than identifying their causes.
What the ablations show
What changes when the prompt changes
The paper reports no formal component ablation of TRAM or of the evaluated systems. It offers controlled prompt comparisons, task-specific performance analysis, human comparisons, and a manual study of errors.
The closest controlled comparison changes what the prompt asks the same system to do. With standard prompting, the question leads directly to the request for an answer. Under chain-of-thought prompting, the system is encouraged to work through the problem. For instance, it can determine which temporal details matter before comparing possible endings or identify which time values have to be combined before choosing a calculation result. The question and choices still define the same decision. This comparison asks whether the change in instruction helps the system reach the designated choice.
Prompting comparisons also vary the availability of demonstrations. A zero-shot comparison tests how the system responds to a direct question or a request for a stepwise solution without a supplied worked example. In the 5-shot comparisons, examples can demonstrate both the expected form of response and the kind of evidence to consider. The chain-of-thought examples include human-authored solutions, whereas standard examples supply the correct choices. As a consequence, a difference between prompt conditions with demonstrations can reflect the reasoning shown in the examples as well as the instruction given for the test item.
The paper finds that chain-of-thought prompting often improves performance. This supports the value of the tested prompts for answer selection across the benchmark. It leaves the source of each improvement open. A better answer may follow from identifying the relevant operation, attending to a detail in the passage, or applying a decision procedure made clearer by the examples. The scoring procedure does not test each explanatory step independently. A satisfactory final choice and a fluent account of how it was reached are distinct observations.
What task profiles can reveal
The task comparison provides a different kind of analysis. Strong results for BERT and RoBERTa on event relations coexist with much weaker profiles on some other tasks. The authors suggest that bidirectional processing of context and sensitivity to relationships among tokens may contribute to their relation performance. The experiment does not selectively disable those features. The association is evidence for further investigation rather than a measured architectural effect.
Likewise, the RoBERTa-large and Llama2 ranking shows that the size ordering of the tested systems does not reproduce the average performance ordering on TRAM. It cannot establish what would happen if only size changed. RoBERTa-large has task-specific fine-tuning in this comparison, while Llama2 uses prompts. The paper’s RST comparison raises a related question about the contribution of training tailored to time. RST’s average performance places it near RoBERTa-large in the authors’ discussion. Its result supplies a specialized baseline, with architecture and training procedure still bundled together.
The expert and non-specialist comparison illuminates another feature of the test. Both groups receive the same human evaluation questions, so the comparison holds the item selection fixed. The groups differ in recruitment and screening. The expert panel is selected for relevant qualifications and for performance on a preliminary assessment. The contrast shows how much the interpretation of human performance depends on which group provides the reference. It does not isolate the contribution of any particular background or qualification.
What the incorrect answers look like
The authors manually inspect incorrect choices and inappropriate answers from the large systems. The reported proportions refer to errors examined within each task group. They describe which problems are most prominent among the mistakes. Accuracy has a different denominator, since it involves both correct and incorrect responses. In particular, a large share for an error category does not say how frequently an arbitrary question in that group triggers the error.
In foundational temporal understanding, assumption bias is the largest category at 32% of errors. The term describes cases in which a familiar convention or learned pattern is applied too confidently. The authors point to the possibility of cultural and individual differences. A typical time can be a reasonable default and still be wrong for the situation a question describes. Other categories cover temporal descriptors interpreted too narrowly, descriptions of events that allow competing readings, and explicit contextual clues that a system misses or misreads. A response that treats “often” as necessarily daily illustrates why a general frequency word can support several possible schedules.
In interpretation and computation, calculation slips account for 42% of the errors examined. Mishandling a carry when combining time values is one example. An answer can go wrong after the solver has identified a suitable operation. Other errors occur earlier, while interpreting the problem. A system can map a qualitative expression to an unjustified quantity, settle on an overly specific duration for a vague phrase, or confuse conventions such as AM and PM. The analysis therefore distinguishes errors about what to compute from errors in carrying out the computation or reading its result.
In the advanced group, implicit oversights account for 34% of examined errors. A response of this type misses a clue whose effect on the timeline or causal interpretation has to be inferred. The authors also identify cases in which a system reduces a more intricate relation to a simpler one, follows a familiar narrative pattern despite the details of the particular story, or applies a broad convention where the local facts call for an exception. These mistakes matter when a superficially plausible choice is available. A continuation can fit a common story pattern yet conflict with what this story has made likely.
Taken together, the error categories explain how similar answer failures can have different immediate causes. Two wrong time answers might reflect a confused notation and an incorrect arithmetic carry. Two wrong story answers might reflect missing a contextual clue and following an ending that seems familiar. The authors identify these patterns from responses. Their analysis locates where an answer appears to go wrong without establishing an internal cause for every mistake.
Limitations
Limits the authors state
The authors identify test sampling as a limit on the scope of their results. They assemble a much larger collection than the sample used for the prompted experiments. Every category is represented under the sampling procedure, but many questions in larger categories are outside the measured set. The reported performance thus estimates how the tested systems handle the selected items. A system’s behavior on formulations or cases that appear elsewhere in the collection remains open.
The single-answer multiple-choice format has its own limitations. A system can guess, and sometimes the alternatives help a solver infer the intended answer without reconstructing it independently. The authors emphasize the risk that successful guesses can affect the scores. This is especially relevant when comparing tasks with different kinds of choices. Selecting a time from a few alternatives is a different demand from producing the time, specifying its calendar or time zone, and explaining what evidence establishes it.
The benchmark is text-based. The paper points out that people also use information from images and videos to reason about events. In such a setting, even identifying which events took place and when may depend on visual cues. The benchmark’s text questions often state or name events that a reader is supposed to reason about. This makes the inputs manageable and consistent, while leaving open how a system would identify and follow events from visual evidence. That is a separate question for vision and language.
The datasheet acknowledges that a labeled answer can coexist with plausible interpretations the label does not represent. Everyday timing and recurrence can depend on cultural conventions or unstated assumptions about the situation. Specialists check the answer intended for the question, but subtle ambiguity and logical problems may survive review. The authors also acknowledge similar questions within a task and the possibility of unsuitable distractors after reformulation. A benchmark can avoid clear duplicates while still containing closely related instances from the same template or source.
TRAM is designed for temporal questions. The authors caution against treating its scores as evidence of competence for applications that hinge on emotional interpretation or specialized medical or legal understanding. Their discussion proposes testing with more data and refining prompts for individual tasks. They also describe possible short-answer and summarization evaluations, multiple-choice items allowing several correct answers, and further training of open systems for temporal tasks. These are plans for extending the tests beyond the evaluation reported in the paper.
Limits that follow from the design
Keyword selection identifies material that contains a temporal expression. That is weaker evidence than showing that the answer changes when the temporal information changes. A premise and hypothesis can mention a month while their inference label is determined by some other detail. A story can include a temporal phrase while the intended ending is most easily selected on tone. The method makes the source collections searchable for relevant material. For an individual retained item, the reason a particular choice succeeds can still involve temporal and non-temporal evidence together.
Distractors can also have properties specific to their source. A permuted ordering gives a precise alternative sequence, and a fixed relation inventory gives nearby labels with clear distinctions. An ending generated using “unexpectedly” may introduce a different kind of cue because its wording or narrative direction can stand out. An evaluator can observe correct option selection without knowing whether the solver relied on chronology, style, or some combination. The paper’s example about the family in the park illustrates this point. Story coherence is part of the intended judgment, and clues about friendliness or tone can contribute alongside temporal ones.
Template-based construction lets the authors cover many values and situations. Performance on several variants of a shared pattern is informative about whether a system handles that pattern across those variants. The evaluation gives less information about transfer to a genuinely new phrasing or a different underlying form. The datasheet recognizes the presence of similar questions. The paper’s scores do not show how results would change under a split that reserved entire template families, formulations, or source types for testing.
The different supervision protocols limit causal interpretations of rankings. The trained baselines receive labeled TRAM examples and have their parameters adjusted. The prompted systems receive instructions and, depending on the condition, demonstrations in the input. The common machine test sample helps make their answer scores comparable. It cannot account for differences in what the systems learned during pretraining or whether they had previously seen material related to the public source datasets. The paper’s design leaves source familiarity as a possible contributor where items draw on known resources and facts.
Reporting the best of multiple runs gives readers a view of what each tested setting achieved at its strongest in the experiment. It provides less information about the variation among runs or the typical result a reader would obtain under the same broad configuration. Greedy decoding constrains response generation. The sampling of items, the prompt configuration, and the rule for choosing which run to report still define the reported performance. The arithmetic endpoints are a spread across evaluated conditions, for example, and cannot substitute for information about repeatability within a condition.
The human and machine scores also come from different sampling procedures. The two human groups answer the same sampled human questions, while the machine tests use their own per-category sampling rule. The paper’s reported human gap is an aggregate comparison under those protocols. The screening procedure makes expert performance a measure of what selected specialists achieved. The non-specialist result shows the importance of that qualification and gives a different reference within the same human question sample. Neither human result establishes a population-wide standard for temporal understanding.
Finally, TRAM’s groupings organize the question types the authors wanted to cover. They do not establish a difficulty ladder on which every foundational question is easier than every advanced question. A cumbersome duration comparison can require more work than a story question with a well-supported ending. Differences in source material, label balance, answer choices, and available evidence contribute to task difficulty. The most precise interpretation of a score keeps the task and evaluation condition attached to it.
What came after
The works that cite TRAM point to several ways of narrowing or extending the question it poses. Their titles identify their subjects and, in some cases, their broad approach. A citation establishes that the work engages with TRAM in some form. It leaves open whether the authors reused questions, adopted an evaluation protocol, or referred to the benchmark as related research. Those distinctions matter when tracing what the later papers take forward.
One direction is to focus on how events occupy intervals. TRAM includes duration questions and distinguishes relations such as simple precedence and immediate precedence. An interval-centered study concentrates on events that take up spans and on what can be inferred from the positions of those spans. This focus is explicit in ChronoSense.
Another direction is to improve temporal reasoning or give it a more explicit representation. Timo identifies better temporal reasoning as its aim. ODL-TempLLM names ontologies and description logic as guides to temporal reasoning. An ontology supplies an explicit vocabulary for entities and relationships, while description logic provides a formal way to reason about such descriptions. This framing asks about the role of structured information in reaching a result, alongside TRAM’s question of how well a system answers across a broad collection. Timo and ODL-TempLLM.
Historical events give another focus to the benchmark question. TRAM uses historical timelines in parts of Ordering and Typical Time. HistoryBankQA makes historical events the focus of multilingual temporal question answering. Work on Chinese dynasties identifies a particular historical setting for benchmarking temporal reasoning and alignment. Both titles specify the domain of the assessment more tightly than TRAM, whose historical material sits alongside everyday commonsense, calendar calculations, and narratives. HistoryBankQA and Benchmarking Temporal Reasoning and Alignment Across Chinese Dynasties.
A related line asks how systems handle information that changes with time. One citing work frames the problem as resolving conflicts in temporal knowledge when facts change. Another asks about the limits of adaptation under continuing knowledge drift and names retrieval and learning as the approaches under comparison. These titles shift the emphasis toward which facts apply at a particular time and how an answer should reflect that dependence. TRAM’s history questions also tie events to times, but the changing-knowledge framing treats shifts in applicability as the central problem. When Facts Change and RAG or Learning?.
Other citations put temporal questions in a different setting. Work on very long-term conversational memory makes extended interactions the object of evaluation. This gives a temporal dimension to what an agent must retain across conversations. Work on cultural anachronism places temporal reasoning in vision and language, taking up a kind of input the TRAM authors explicitly identify as beyond their text questions. The titles establish the settings of these inquiries. They leave the implementation of any connection to TRAM unspecified. Evaluating Very Long-Term Conversational Memory of LLM Agents and On the Cultural Anachronism and Temporal Reasoning in Vision Language Models.
The citing works also include research with a broader subject than temporal benchmarks. The chain-of-thought survey concerns a prompting approach evaluated in TRAM. The paper on hallucinations takes authentic interactions between people and systems as its subject, a different setting from answering prewritten questions with keyed choices. These citations connect TRAM with discussions of prompting and response reliability. Neither title identifies a specific extension of TRAM. Navigate through Enigmatic Labyrinth and Detecting Hallucinations in Authentic LLM–Human Interactions.
Cite
Cite as Yuqing Wang and Yun Zhao. 2024. TRAM: Benchmarking Temporal Reasoning for Large Language Models. Findings of the Association for Computational Linguistics: ACL 2024.
@inproceedings{wang2024tram,
title = {{TRAM: Benchmarking Temporal Reasoning for Large Language Models}},
author = {Yuqing Wang and Yun Zhao},
booktitle = {Findings of the Association for Computational Linguistics: ACL 2024},
year = {2024},
doi = {10.18653/v1/2024.findings-acl.382},
eprint = {2310.00835},
archivePrefix = {arXiv},
url = {https://doi.org/10.18653/v1/2024.findings-acl.382}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/wang-2024-tram-benchmarking-temporal-reasoning-large/
References
- Rohan Anil, Andrew M Dai, Orhan Firat, Melvin Johnson, Dmitry Lepikhin, Alexandre Passos, Siamak Shakeri, Emanuel Taropa, Paige Bailey, Zhifeng Chen, et al. 2023. Palm 2 technical report. arXiv preprint arXiv:2305.10403. our card
- Samuel R Bowman, Gabor Angeli, Christopher Potts, and Christopher D Manning. 2015. A large annotated corpus for learning natural language inference. In Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing. Association for Computational Linguistics. our card
- Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, et al. 2020. Language models are few-shot learners. Advances in neural information processing systems, 33:1877–1901. our card
- Wenhu Chen, Xinyi Wang, and William Yang Wang. 2021. A dataset for answering time-sensitive questions. arXiv preprint arXiv:2108.06314. OpenAlex ↗ · Scholar ↗
- Bhuwan Dhingra, Jeremy R Cole, Julian Martin Eisenschlos, Daniel Gillick, Jacob Eisenstein, and William W Cohen. 2022. Time-aware language models as temporal knowledge bases. Transactions of the Association for Computational Linguistics, 10:257–273. our card
- Dan Hendrycks, Collin Burns, Steven Basart, Andy Zou, Mantas Mazeika, Dawn Song, and Jacob Steinhardt. 2020. Measuring massive multitask language understanding. In International Conference on Learning Representations. our card
- Jacob Devlin Ming-Wei Chang Kenton and Lee Kristina Toutanova. 2019. Bert: Pre-training of deep bidirectional transformers for language understanding. In Proceedings of naacL-HLT, volume 1, page 2. our card
- Takeshi Kojima, Shixiang Shane Gu, Machel Reid, Yutaka Matsuo, and Yusuke Iwasawa. 2022. Large language models are zero-shot reasoners. Advances in neural information processing systems, 35:22199–22213. our card
- Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, and Veselin Stoyanov. 2019. Roberta: A robustly optimized bert pretraining approach. arXiv preprint arXiv:1907.11692. our card
- Bonan Min, Hayley Ross, Elior Sulem, Amir Pouran Ben Veyseh, Thien Huu Nguyen, Oscar Sainz, Eneko Agirre, Ilana Heintz, and Dan Roth. 2021. Recent advances in natural language processing via large pre-trained language models: A survey. ACM Computing Surveys. our card
- Nasrin Mostafazadeh, Nathanael Chambers, Xiaodong He, Devi Parikh, Dhruv Batra, Lucy Vanderwende, Pushmeet Kohli, and James Allen. 2016. A corpus and cloze evaluation for deeper understanding of commonsense stories. In Proceedings of the 2016 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 839–849. OpenAlex ↗ · Scholar ↗
- Nasrin Mostafazadeh, Michael Roth, Annie Louis, Nathanael Chambers, and James Allen. 2017. Lsdsem 2017 shared task: The story cloze test. In Proceedings of the 2nd Workshop on Linking Models of Lexical, Sentential and Discourse-level Semantics, pages 46–51. OpenAlex ↗ · Scholar ↗
- OpenAI. 2023. Gpt-4 technical report (http://arxiv.org/abs/2303.08774). our card
- James Pustejovsky, Patrick Hanks, Roser Sauri, Andrew See, Robert Gaizauskas, Andrea Setzer, Dragomir Radev, Beth Sundheim, David Day, Lisa Ferro, et al. 2003. The timebank corpus. In Corpus linguistics, volume 2003, page 40. Lancaster, UK. OpenAlex ↗ · Scholar ↗
- Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, Ilya Sutskever, et al. 2019. Language models are unsupervised multitask learners. OpenAlex ↗ · Scholar ↗
- Pranav Rajpurkar, Jian Zhang, Konstantin Lopyrev, and Percy Liang. 2016. Squad: 100,000+ questions for machine comprehension of text. In Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing, pages 2383–2392. our card
- Melissa Roemmele, Cosmin Adrian Bejan, and Andrew S Gordon. 2011. Choice of plausible alternatives: An evaluation of commonsense causal reasoning. In 2011 AAAI Spring Symposium Series. OpenAlex ↗ · Scholar ↗
- Qingyu Tan, Hwee Tou Ng, and Lidong Bing. 2023. Towards benchmarking and improving the temporal reasoning capability of large language models. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 14820–14835. our card
- Gemini Team, Rohan Anil, Sebastian Borgeaud, Yonghui Wu, Jean-Baptiste Alayrac, Jiahui Yu, Radu Soricut, Johan Schalkwyk, Andrew M Dai, Anja Hauth, et al. 2023. Gemini: a family of highly capable multimodal models. arXiv preprint arXiv:2312.11805. our card
- Hugo Touvron, Louis Martin, Kevin Stone, Peter Albert, Amjad Almahairi, Yasmine Babaei, Nikolay Bashlykov, Soumya Batra, Prajjwal Bhargava, Shruti Bhosale, et al. 2023. Llama 2: Open foundation and fine-tuned chat models. arXiv preprint arXiv:2307.09288. our card
- Naushad UzZaman, Hector Llorens, Leon Derczynski, James Allen, Marc Verhagen, and James Pustejovsky. 2013. Semeval-2013 task 1: Tempeval-3: Evaluating time expressions, events, and temporal relations. In Second Joint Conference on Lexical and Computational Semantics (* SEM), Volume 2: Proceedings of the Seventh International Workshop on Semantic Evaluation (SemEval 2013), pages 1–9. OpenAlex ↗ · Scholar ↗
- Xuezhi Wang, Jason Wei, Dale Schuurmans, Quoc Le, Ed Chi, Sharan Narang, Aakanksha Chowdhery, and Denny Zhou. 2022a. Self-consistency improves chain of thought reasoning in language models. arXiv preprint arXiv:2203.11171. our card
- Yuqing Wang and Yun Zhao. 2023. Metacognitive prompting improves understanding in large language models. arXiv preprint arXiv:2308.05342. OpenAlex ↗ · Scholar ↗
- Yuqing Wang, Yun Zhao, Rachael Callcut, and Linda Petzold. 2022b. Integrating physiological time series and clinical notes with transformer for early prediction of sepsis. arXiv preprint arXiv:2203.14469. OpenAlex ↗ · Scholar ↗
- Yuqing Wang, Yun Zhao, and Linda Petzold. 2022c. Enhancing transformer efficiency for multivariate time series classification. arXiv preprint arXiv:2203.14472. OpenAlex ↗ · Scholar ↗
- Yuqing Wang, Yun Zhao, and Linda Petzold. 2023. Are large language models ready for healthcare? a comparative study on clinical language understanding. arXiv preprint arXiv:2304.05368. OpenAlex ↗ · Scholar ↗
- Jason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma, Fei Xia, Ed Chi, Quoc V Le, Denny Zhou, et al. 2022. Chain-of-thought prompting elicits reasoning in large language models. Advances in Neural Information Processing Systems, 35:24824–24837. our card
- Yifan Wei, Yisong Su, Huanhuan Ma, Xiaoyan Yu, Fangyu Lei, Yuanzhe Zhang, Jun Zhao, and Kang Liu. 2023. Menatqa: A new dataset for testing the temporal comprehension and reasoning abilities of large language models. In Findings of the Association for Computational Linguistics: EMNLP 2023, pages 1434–1447. OpenAlex ↗ · Scholar ↗
- Adina Williams, Nikita Nangia, and Samuel Bowman. 2018. A broad-coverage challenge corpus for sentence understanding through inference. In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long Papers), pages 1112–1122. our card
- Shunyu Yao, Dian Yu, Jeffrey Zhao, Izhak Shafran, Thomas L Griffiths, Yuan Cao, and Karthik Narasimhan. 2023. Tree of thoughts: Deliberate problem solving with large language models. arXiv preprint arXiv:2305.10601. OpenAlex ↗ · Scholar ↗
- Weizhe Yuan and Pengfei Liu. 2022. restructured pre-training. arXiv preprint arXiv:2206.11147. OpenAlex ↗ · Scholar ↗
- Wayne Xin Zhao, Kun Zhou, Junyi Li, Tianyi Tang, Xiaolei Wang, Yupeng Hou, Yingqian Min, Beichen Zhang, Junjie Zhang, Zican Dong, et al. 2023. A survey of large language models. arXiv preprint arXiv:2303.18223. our card
- Yun Zhao, Yuqing Wang, Junfeng Liu, Haotian Xia, Zhenni Xu, Qinghang Hong, Zhiyang Zhou, and Linda Petzold. 2021. Empirical quantitative analysis of covid-19 forecasting models. In 2021 International Conference on Data Mining Workshops (ICDMW), pages 517–526. IEEE. OpenAlex ↗ · Scholar ↗
- Ben Zhou, Daniel Khashabi, Qiang Ning, and Dan Roth. 2019. “going on a vacation” takes longer than “going for a walk”: A study of temporal commonsense understanding. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pages 3363–3369. our card